Install efm lsp and use lua-format on all files
This commit is contained in:
@@ -32,6 +32,6 @@ vim.api.nvim_exec([[
|
||||
]], false)
|
||||
|
||||
-- Automatically formatting buffer on save
|
||||
vim.api.nvim_command("autocmd BufWritePre * lua vim.lsp.buf.formatting_sync()")
|
||||
vim.api.nvim_command("autocmd BufWritePre * lua vim.lsp.buf.formatting_sync(nil, 100)")
|
||||
|
||||
vim.cmd('command! ToggleBackground lua require("utils").toggleBackground()')
|
||||
|
||||
Reference in New Issue
Block a user