mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(angular): remove unnecessary loop.cwd
This commit is contained in:
parent
9abb41a694
commit
887788dd98
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ return {
|
||||||
angularls = {
|
angularls = {
|
||||||
-- Make sure it works for Nx workspaces as well
|
-- Make sure it works for Nx workspaces as well
|
||||||
root_dir = function(fname)
|
root_dir = function(fname)
|
||||||
return require("lspconfig.util").root_pattern("nx.json", "angular.json")(fname) or vim.loop.cwd()
|
return require("lspconfig.util").root_pattern("nx.json", "angular.json")(fname)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue