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
- vim.lsp.buf.format()
+ vim.lsp.buf.format({async=false})
!https://github.com/jose-elias-alvarez/null-ls.nvim/wiki/Formatting-on-save#code
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
- vim.lsp.buf.format()
+ vim.lsp.buf.format({async=false})
Related tags and posts connected to this entry.