aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/angularls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/angularls.lua')
-rw-r--r--lsp/angularls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/angularls.lua b/lsp/angularls.lua
index 474905d7..ec81789f 100644
--- a/lsp/angularls.lua
+++ b/lsp/angularls.lua
@@ -66,7 +66,7 @@ end
---@type vim.lsp.Config
return {
cmd = function(dispatchers, config)
- local root_dir = (config and config.root) or fn.getcwd()
+ local root_dir = (config and config.root_dir) or fn.getcwd()
local node_paths = collect_node_modules(root_dir)
local ts_probe = table.concat(node_paths, ',')