Fix bug when server not explicitely defined in configuration but installed
This commit is contained in:
parent
ea028fe0b5
commit
734cc4e94a
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -463,7 +463,7 @@ mason_lspconfig.setup_handlers {
|
|||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
settings = servers[server_name],
|
||||
filetypes = servers[server_name].filetypes,
|
||||
filetypes = (servers[server_name] or {}).filetypes,
|
||||
}
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue