Zum Hauptinhalt springen
Version: 1.2

Angular

Better syntax highlighting

You may want to add this plugin to your config. It provides treesitter integration with the Angular framework.

{ "nvim-treesitter/nvim-treesitter-angular" }

Install Language Server

:LspInstall angularls

Configure LunarVim

The angularls server is overridden by default. So it needs to be manually configured.

Setup

Add this to your config.lua file:

require("lvim.lsp.manager").setup("angularls")

For more info about the LSP such as default values checkout this.

note

For Angular projects with version lesser than 9 (pre Ivy) you should provide the LSP with the --viewEngine flag.