mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 11:30:06 +02:00
fully remove capabilities
This commit is contained in:
parent
3c9d3449ad
commit
f477c5626d
1 changed files with 1 additions and 4 deletions
|
@ -59,14 +59,11 @@ in
|
|||
local __lspOnAttach = function(client)
|
||||
${cfg.onAttach}
|
||||
end
|
||||
local __lspCapabilities = function()
|
||||
end
|
||||
|
||||
for i,server in ipairs(__lspServers) do
|
||||
if type(server) == "string" then
|
||||
require('lspconfig')[server].setup {
|
||||
on_attach = __lspOnAttach,
|
||||
capabilities = __lspCapabilities,
|
||||
on_attach = __lspOnAttach
|
||||
}
|
||||
else
|
||||
require('lspconfig')[server.name].setup(server.extraOptions)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue