We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38c3ee4 commit b636b78Copy full SHA for b636b78
lua/modules/configs/completion/mason-lspconfig.lua
@@ -66,6 +66,10 @@ please REMOVE your LSP configuration (rust_analyzer.lua) from the `servers` dire
66
--- See `clangd.lua` for example.
67
custom_handler(opts)
68
elseif type(custom_handler) == "table" then
69
+ local predefined_ok, predefined = pcall(require, "completion.servers." .. lsp_name)
70
+ if predefined_ok then
71
+ opts = vim.tbl_deep_extend("force", opts, predefined)
72
+ end
73
nvim_lsp[lsp_name].setup(vim.tbl_deep_extend("force", opts, custom_handler))
74
else
75
vim.notify(
0 commit comments