Skip to content

Commit 4991ab4

Browse files
committed
fix: invoke :LspStart correctly
Signed-off-by: Jint-lzxy <[email protected]>
1 parent b72c939 commit 4991ab4

File tree

1 file changed

+1
-6
lines changed
  • lua/modules/configs/completion

1 file changed

+1
-6
lines changed

lua/modules/configs/completion/lsp.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,5 @@ return function()
2020
pcall(require, "user.configs.lsp")
2121

2222
-- Start LSPs
23-
pcall(function()
24-
local matching_configs = nvim_lsp.util.get_config_by_ft(vim.bo.filetype)
25-
for _, config in ipairs(matching_configs) do
26-
config.launch()
27-
end
28-
end)
23+
pcall(vim.cmd.LspStart)
2924
end

0 commit comments

Comments
 (0)