Skip to content

Commit

Permalink
docs: add neovim setup section to adev
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonvc committed Jun 14, 2024
1 parent 8250238 commit 9ca76ec
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions adev/src/content/tools/language-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,14 @@ This lets the Angular Language Service provide diagnostics and completions in `.

Either directly install the "Eclipse IDE for Web and JavaScript developers" package which comes with the Angular Language Server included, or from other Eclipse IDE packages, use Help > Eclipse Marketplace to find and install [Eclipse Wild Web Developer](https://marketplace.eclipse.org/content/wild-web-developer-html-css-javascript-typescript-nodejs-angular-json-yaml-kubernetes-xml).

### Neovim

Angular language service can be used with Neovim by using the [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) plugin.

1. [Install nvim-lspconfig](https://github.com/neovim/nvim-lspconfig?tab=readme-ov-file#install)

2. [Configure angularls for nvim-lspconfig](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#angularls)

Check notice on line 138 in adev/src/content/tools/language-service.md

View check run for this annotation

In Solidarity / Inclusive Language

Match Found

Please consider an alternative to `master`. Possibilities include: `primary`, `main`, `leader`, `active`, `writer`
Raw output
/master/gi

## How the Language Service works

When you use an editor with a language service, the editor starts a separate language-service process and communicates with it through an [RPC](https://en.wikipedia.org/wiki/Remote_procedure_call), using the [Language Server Protocol](https://microsoft.github.io/language-server-protocol).
Expand Down

0 comments on commit 9ca76ec

Please sign in to comment.