1
0
Fork 0

lsp:change deprecated formatting_sync()

This commit is contained in:
Felipe 2022-11-28 21:57:47 -03:00
parent addc2544f9
commit bf03f06c48
Signed by: pitbuster
SSH key fingerprint: SHA256:HDYu2Pm4/TmSX8GBwV49UvFWr1Ljg8XlHxKeCpjJpOk

View file

@ -134,7 +134,7 @@ local servers = {
-- overrides the previous calls. -- overrides the previous calls.
-- Auto format on save -- Auto format on save
vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.formatting_sync()]] vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.format()]]
---- Plugins ---- ---- Plugins ----
---- ale ---- ale