add angular lsp (#322)

Co-authored-by: ptethng <hugo.nogard@protonmail.com>
This commit is contained in:
ptethng 2021-04-30 00:52:13 +02:00 committed by GitHub
parent b70c1a4a07
commit 50701b2d8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

5
lua/lsp/angular-ls.lua Normal file
View file

@ -0,0 +1,5 @@
-- :LspInstall angular
require'lspconfig'.angularls.setup {
cmd = {DATA_PATH .. "/lspinstall/angular/node_modules/@angular/language-server/bin/ngserver", "--stdio"},
on_attach = require'lsp'.common_on_attach,
}