Typescript
This commit is contained in:
parent
ee80c2413e
commit
788747a90d
1 changed files with 3 additions and 2 deletions
3
init.lua
3
init.lua
|
|
@ -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'},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue