diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig.lua b/lua/lspconfig.lua index 1023167b..798f6234 100644 --- a/lua/lspconfig.lua +++ b/lua/lspconfig.lua @@ -88,7 +88,7 @@ function mt:__index(k) if configs[k] == nil then -- dofile is used here as a performance hack to increase the speed of calls to setup({}) -- dofile does not cache module lookups, and requires the absolute path to the target file - dofile(script_path .. 'lspconfig/' .. k .. ".lua") + pcall(dofile, script_path .. 'lspconfig/' .. k .. ".lua") end return configs[k] end |
