diff options
| author | Merel Jossart <merel.jossart@outlook.com> | 2023-07-25 17:06:04 +0200 |
|---|---|---|
| committer | Numkil <merel.jossart@outlook.com> | 2023-07-25 18:30:47 +0200 |
| commit | 734cc4e94aec64c8cb3504711978c51b092f2542 (patch) | |
| tree | 9fefc137ab7124c3b5892a418e334033aa764e13 /init.lua | |
| parent | ea028fe0b55fa15523e85e72d36c78665080d5e3 (diff) | |
Fix bug when server not explicitely defined in configuration but installed
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |
