aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim_lsp/util.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim_lsp/util.lua')
-rw-r--r--lua/nvim_lsp/util.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/nvim_lsp/util.lua b/lua/nvim_lsp/util.lua
index 33eff0c9..ab084ea4 100644
--- a/lua/nvim_lsp/util.lua
+++ b/lua/nvim_lsp/util.lua
@@ -231,6 +231,7 @@ function M.server_per_root_dir_manager(_make_config)
function manager.add(root_dir)
if not root_dir then return end
+ if not M.path.is_dir(root_dir) then return end
-- Check if we have a client alredy or start and store it.
local client_id = clients[root_dir]