home: vim: use 'lsp-formatting.nvim'
A few things that are different: * Async by default. * Takes care of the order of formatters, if I ever need to do that. * Allows for easily disabling formatting (unfortunately this is global state, not buffer-local). * Gets rid of the formatting pause when doing `:wq`.
This commit is contained in:
parent
3122db6536
commit
a29deaa9bc
3 changed files with 8 additions and 11 deletions
3
home/vim/plugin/settings/formatting.lua
Normal file
3
home/vim/plugin/settings/formatting.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
local lsp_format = require("lsp-format")
|
||||
|
||||
lsp_format.setup({})
|
||||
Loading…
Add table
Add a link
Reference in a new issue