💭 Formatting on save · jose-elias-alvarez/null-ls.nvim Wiki =========================================================== !https://github.com/jose-elias-alvarez/null-ls.nvim/wiki/Formatting-on-save#code Date: August 6, 2023 Formatting on save Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua. - jose-elias-alvarez/null-ls.nvim GitHub · github.com [1] neovim stopped formatting on save for me awhile ago and I have just been dealing with it. looks like there may have been an api change, idk. I had to make this update.4 ``` diff - vim.lsp.buf.format() + vim.lsp.buf.format({async=false}) ``` !!! note This post is a thought [2]. It's a short note that I make about someone else's content online #thoughts [3] References: [1]: https://github.com/jose-elias-alvarez/null-ls.nvim/wiki/Formatting-on-save#code [2]: /thoughts/ [3]: /tags/thoughts/