diff options
author | Chris Patti <feoh@feoh.org> | 2023-07-25 12:32:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-25 12:32:09 -0400 |
commit | 3dc1c1c4c2ee3d6c5841ea1b3c13a7c123592086 (patch) | |
tree | 9fefc137ab7124c3b5892a418e334033aa764e13 /init.lua | |
parent | ea028fe0b55fa15523e85e72d36c78665080d5e3 (diff) | |
parent | 734cc4e94aec64c8cb3504711978c51b092f2542 (diff) |
Merge pull request #376 from Numkil/patch-bug
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 } |