diff --git a/lua/config_plugins/config_lsp.lua b/lua/config_plugins/config_lsp.lua index 8025bf64..cc59d1cb 100644 --- a/lua/config_plugins/config_lsp.lua +++ b/lua/config_plugins/config_lsp.lua @@ -40,7 +40,7 @@ local on_attach = function(client, bufnr) -- Keep support for deprecated syntax in vim <= 7 if vim.version().minor <= 7 then vim.keymap.set('n', 'i', function() - vim.lsp.buf.formatting_sync({ timeout_ms = 10000 }) + vim.lsp.buf.formatting() end, bufopts) else vim.keymap.set('n', 'i', function()