Ir al contenido principal
Versión: Siguiente

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.

nota

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