aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/angularls.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-04-26 15:59:54 -0700
committerGitHub <noreply@github.com>2025-04-26 15:59:54 -0700
commit3dde1b87963ed93bf1c7e63392fbc5e60520f2ad (patch)
tree2e987572b9a055d6718f2eda6d16e82b72bfc9a5 /lsp/angularls.lua
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-3dde1b87963ed93bf1c7e63392fbc5e60520f2ad.tar
nvim-lspconfig-3dde1b87963ed93bf1c7e63392fbc5e60520f2ad.tar.gz
nvim-lspconfig-3dde1b87963ed93bf1c7e63392fbc5e60520f2ad.tar.bz2
nvim-lspconfig-3dde1b87963ed93bf1c7e63392fbc5e60520f2ad.tar.lz
nvim-lspconfig-3dde1b87963ed93bf1c7e63392fbc5e60520f2ad.tar.xz
nvim-lspconfig-3dde1b87963ed93bf1c7e63392fbc5e60520f2ad.tar.zst
nvim-lspconfig-3dde1b87963ed93bf1c7e63392fbc5e60520f2ad.zip
docs: cleanup #3791
Diffstat (limited to 'lsp/angularls.lua')
-rw-r--r--lsp/angularls.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lsp/angularls.lua b/lsp/angularls.lua
index cdf28c9e..ea2fe006 100644
--- a/lsp/angularls.lua
+++ b/lsp/angularls.lua
@@ -9,12 +9,12 @@
--- local project_library_path = "/path/to/project/lib"
--- local cmd = {"ngserver", "--stdio", "--tsProbeLocations", project_library_path , "--ngProbeLocations", project_library_path}
---
---- require'lspconfig'.angularls.setup{
+--- vim.lsp.config('angularls', {
--- cmd = cmd,
--- on_new_config = function(new_config,new_root_dir)
--- new_config.cmd = cmd
--- end,
---- }
+--- })
--- ```
-- Angular requires a node_modules directory to probe for @angular/language-service and typescript