From cc3d02065593d74b2fa7c0ff337c3e8b087fd788 Mon Sep 17 00:00:00 2001 From: Thomas Canta <56256989+DocAmaroo@users.noreply.github.com> Date: Fri, 14 Nov 2025 04:15:51 +0100 Subject: fix(angularls): reference to invalid field #4184 Problem: `config.root` is not a valid field. Solution Replace it by `config.root_dir`. --- lsp/angularls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ',') -- cgit v1.2.3-70-g09d2