mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(extras.lang): update angularls configuration
This commit is contained in:
parent
ce13ca1a72
commit
e5f42ef77a
1 changed files with 2 additions and 7 deletions
|
|
@ -1,7 +1,6 @@
|
|||
return {
|
||||
recommended = function()
|
||||
return LazyVim.extras.wants({
|
||||
ft = { "html", "typescript" },
|
||||
root = {
|
||||
"angular.json",
|
||||
"nx.json", --support for nx workspace
|
||||
|
|
@ -48,12 +47,8 @@ return {
|
|||
LazyVim.extend(opts.servers.vtsls, "settings.vtsls.tsserver.globalPlugins", {
|
||||
{
|
||||
name = "@angular/language-server",
|
||||
location = LazyVim.get_pkg_path(
|
||||
"angular-language-server",
|
||||
"/node_modules/@angular/language-server",
|
||||
{ warn = false }
|
||||
),
|
||||
enableForWorkspaceTypeScriptVersions = true,
|
||||
location = LazyVim.get_pkg_path("angular-language-server", "/node_modules/@angular/language-server"),
|
||||
enableForWorkspaceTypeScriptVersions = false,
|
||||
},
|
||||
})
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue