fix(angular): remove unnecessary loop.cwd

This commit is contained in:
Gergely Padányi-Gulyás 2025-02-15 11:44:34 +01:00
parent 9abb41a694
commit 887788dd98

View file

@ -34,7 +34,7 @@ return {
angularls = {
-- Make sure it works for Nx workspaces as well
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,
},
},