aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGithub Actions <actions@github>2020-08-31 12:25:36 +0000
committerGithub Actions <actions@github>2020-08-31 12:25:36 +0000
commit8da84cde15bf8a72e0f7a2bf05bf4b0db8c4bb6d (patch)
treead6cc41f87e7f014a88984b60d6ebab67bad10ee /README.md
parentfeat(angular-ls): add angular language service (diff)
downloadnvim-lspconfig-8da84cde15bf8a72e0f7a2bf05bf4b0db8c4bb6d.tar
nvim-lspconfig-8da84cde15bf8a72e0f7a2bf05bf4b0db8c4bb6d.tar.gz
nvim-lspconfig-8da84cde15bf8a72e0f7a2bf05bf4b0db8c4bb6d.tar.bz2
nvim-lspconfig-8da84cde15bf8a72e0f7a2bf05bf4b0db8c4bb6d.tar.lz
nvim-lspconfig-8da84cde15bf8a72e0f7a2bf05bf4b0db8c4bb6d.tar.xz
nvim-lspconfig-8da84cde15bf8a72e0f7a2bf05bf4b0db8c4bb6d.tar.zst
nvim-lspconfig-8da84cde15bf8a72e0f7a2bf05bf4b0db8c4bb6d.zip
[docgen] Update README.md
skip-checks: true
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 24 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8261309f..c1e8af7e 100644
--- a/README.md
+++ b/README.md
@@ -229,7 +229,7 @@ nvim_lsp.SERVER.setup{config}
the second parameter instead. Useful for doing buffer-local setup.
{on_new_config}
- `function(new_config)` will be executed after a new configuration has been
+ `function(new_config, new_root_dir)` will be executed after a new configuration has been
created as a result of {root_dir} returning a unique value. You can use this
as an opportunity to further modify the new_config or use it before it is
sent to |vim.lsp.start_client()|.
@@ -241,6 +241,7 @@ The following LSP configs are included. Follow a link to find documentation for
that config.
- [als](#als)
+- [angularls](#angularls)
- [bashls](#bashls)
- [ccls](#ccls)
- [clangd](#clangd)
@@ -323,6 +324,28 @@ require'nvim_lsp'.als.setup{}
root_dir = util.root_pattern("Makefile", ".git")
```
+## angularls
+
+https://github.com/angular/vscode-ng-language-service
+
+`angular-language-server` can be installed via `:LspInstall angularls`
+
+If you prefer to install this yourself you can through npm `npm install @angular/language-server`.
+Be aware there is no global binary and must be run via `node_modules/@angular/language-server/index.js`
+
+Can be installed in Nvim with `:LspInstall angularls`
+
+```lua
+require'nvim_lsp'.angularls.setup{}
+
+ Commands:
+
+ Default Values:
+ cmd = { "/home/runner/.cache/nvim/nvim_lsp/angularls/node_modules/.bin/angularls", "--stdio", "--tsProbeLocations", "", "--ngProbeLocations", "" }
+ filetypes = { "typescript", "html", "typescriptreact", "typescript.tsx" }
+ root_dir = root_pattern("angular.json", ".git")
+```
+
## bashls
https://github.com/mads-hartmann/bash-language-server