aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/angularls.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-04-26 16:02:39 -0700
committerGitHub <noreply@github.com>2025-04-26 16:02:39 -0700
commitc1366639e913af5dcdaafe73d7374f336fc58a5c (patch)
tree5fb9f312ec8abbd4e51b179e91a1592dfab1c603 /lsp/angularls.lua
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.tar
nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.tar.gz
nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.tar.bz2
nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.tar.lz
nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.tar.xz
nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.tar.zst
nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.zip
docs: cleanup #3792
Diffstat (limited to 'lsp/angularls.lua')
-rw-r--r--lsp/angularls.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/lsp/angularls.lua b/lsp/angularls.lua
index ea2fe006..f527e091 100644
--- a/lsp/angularls.lua
+++ b/lsp/angularls.lua
@@ -3,17 +3,12 @@
--- https://github.com/angular/vscode-ng-language-service
--- `angular-language-server` can be installed via npm `npm install -g @angular/language-server`.
---
---- Note, that if you override the default `cmd`, you must also update `on_new_config` to set `new_config.cmd` during startup.
----
--- ```lua
--- local project_library_path = "/path/to/project/lib"
--- local cmd = {"ngserver", "--stdio", "--tsProbeLocations", project_library_path , "--ngProbeLocations", project_library_path}
---
--- vim.lsp.config('angularls', {
--- cmd = cmd,
---- on_new_config = function(new_config,new_root_dir)
---- new_config.cmd = cmd
---- end,
--- })
--- ```