diff options
| author | Thomas Canta <56256989+DocAmaroo@users.noreply.github.com> | 2025-11-14 04:15:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-13 19:15:51 -0800 |
| commit | cc3d02065593d74b2fa7c0ff337c3e8b087fd788 (patch) | |
| tree | 38a1d3eda35e8b1ba2e853f343c423831b07bc80 /lsp/angularls.lua | |
| parent | fix(slangd): slangd.exe not executable error on windows #4183 (diff) | |
| download | nvim-lspconfig-cc3d02065593d74b2fa7c0ff337c3e8b087fd788.tar nvim-lspconfig-cc3d02065593d74b2fa7c0ff337c3e8b087fd788.tar.gz nvim-lspconfig-cc3d02065593d74b2fa7c0ff337c3e8b087fd788.tar.bz2 nvim-lspconfig-cc3d02065593d74b2fa7c0ff337c3e8b087fd788.tar.lz nvim-lspconfig-cc3d02065593d74b2fa7c0ff337c3e8b087fd788.tar.xz nvim-lspconfig-cc3d02065593d74b2fa7c0ff337c3e8b087fd788.tar.zst nvim-lspconfig-cc3d02065593d74b2fa7c0ff337c3e8b087fd788.zip | |
fix(angularls): reference to invalid field #4184
Problem:
`config.root` is not a valid field.
Solution
Replace it by `config.root_dir`.
Diffstat (limited to 'lsp/angularls.lua')
| -rw-r--r-- | lsp/angularls.lua | 2 |
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, ',') |
