1
0
Fork 0

Typescript

This commit is contained in:
Felipe Contreras 2022-07-26 17:17:54 -04:00
parent ee80c2413e
commit 788747a90d

View file

@ -123,7 +123,7 @@ end
-- Use a loop to conveniently call 'setup' on multiple servers and -- Use a loop to conveniently call 'setup' on multiple servers and
-- map buffer local keybindings when the language server attaches -- map buffer local keybindings when the language server attaches
local servers = { 'gopls', 'rust_analyzer', 'pylsp' } local servers = { 'gopls', 'rust_analyzer', 'tsserver', 'pylsp' }
for _, server in ipairs(servers) do for _, server in ipairs(servers) do
lsp[server].setup { lsp[server].setup {
on_attach = on_attach, on_attach = on_attach,
@ -148,6 +148,7 @@ g.ale_linters = {
javascript = {'eslint'}, javascript = {'eslint'},
python = {'flake8'}, python = {'flake8'},
tex = {'texlab'}, tex = {'texlab'},
typescript = {},
vim = {'vint'}, vim = {'vint'},
zsh = {'shell', 'shellcheck'}, zsh = {'shell', 'shellcheck'},
} }