mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-26 13:21:45 +00:00
Merge pull request #376 from Numkil/patch-bug
Fix bug when server not explicitely defined in configuration but installed
This commit is contained in:
commit
3dc1c1c4c2
2
init.lua
2
init.lua
@ -463,7 +463,7 @@ mason_lspconfig.setup_handlers {
|
|||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
settings = servers[server_name],
|
settings = servers[server_name],
|
||||||
filetypes = servers[server_name].filetypes,
|
filetypes = (servers[server_name] or {}).filetypes,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user