Skip to content

Commit

Permalink
feat: update angularls/init.lua
Browse files Browse the repository at this point in the history
make the node_modules which in the project have the highest priority, its priority should be higher than mason
  • Loading branch information
LauGaHo authored Dec 31, 2024
1 parent c6c6867 commit 5ab58bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/mason-lspconfig/server_configurations/angularls/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ return function(install_dir)
"ngserver",
"--stdio",
"--tsProbeLocations",
table.concat(append_node_modules { install_dir, workspace_dir }, ","),
table.concat(append_node_modules { workspace_dirinstall_dir }, ","),
"--ngProbeLocations",
table.concat(
append_node_modules {
path.concat { install_dir, "node_modules", "@angular", "language-server" },
workspace_dir,
path.concat { install_dir, "node_modules", "@angular", "language-server" },
},
","
),
Expand Down

0 comments on commit 5ab58bb

Please sign in to comment.