summaryrefslogtreecommitdiffstats
path: root/scripts/autoformat_doc.lua
AgeCommit message (Collapse)Author
2024-06-17feat!: expand options for LSP formatting (#456)Steven Arcangeli
2023-09-14doc: add some recipes to the documentationSteven Arcangeli
2023-09-10feat: format_on_save and format_after_save can be functionsSteven Arcangeli
2023-09-05doc: format() takes bufnr, not buf (#25)Seth Daniel
2023-08-31feat: format() takes an optional callback (#21)Steven Arcangeli
* refactor: replicate lsp.buf.format call * feat: format() takes an optional callback * fix: improper logging * fix: callback returns error if buffer is no longer valid * fix: provide more detailed error message to callback * fix: properly detect task interruption * cleanup: remove unnecessary error code translation * fix: lsp formatting for Neovim 0.9 * doc: add example of async formatting on save * fix: async LSP formatter discards changes if buffer was modified * fix: error code comparison * fix: use the same LSP client filtering logic everywhere * fix: add buffer validity guard checks * fix: add buffer validity guard to LSP formatter * refactor: change the default log level to WARN