added typescript LSP support
This commit is contained in:
parent
af38127637
commit
19511c84c6
2 changed files with 8 additions and 3 deletions
|
@ -10,7 +10,7 @@ local luasnip = require 'luasnip'
|
|||
local lspconfig = require('lspconfig')
|
||||
|
||||
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp
|
||||
local servers = { 'clangd', 'rust_analyzer', 'pyright', 'tsserver' }
|
||||
local servers = {'texlab', 'rust_analyzer', 'pyright', 'denols'}
|
||||
for _, lsp in ipairs(servers) do
|
||||
lspconfig[lsp].setup {
|
||||
-- on_attach = my_custom_on_attach,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue