Change typescript ls config for nvim
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
This commit is contained in:
parent
d403ce5274
commit
f5fe230dfe
@ -17,7 +17,7 @@ lsp_zero.format_on_save({
|
|||||||
['gopls'] = { 'go' },
|
['gopls'] = { 'go' },
|
||||||
['nil_ls'] = { 'nix' },
|
['nil_ls'] = { 'nix' },
|
||||||
['lua_ls'] = { 'lua' },
|
['lua_ls'] = { 'lua' },
|
||||||
['tsserver'] = { 'typescript', 'javascript' },
|
['ts_ls'] = { 'typescript', 'javascript' },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
-- LSP: go
|
-- LSP: go
|
||||||
@ -110,7 +110,7 @@ lspconfig.lua_ls.setup({
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- LSP: ts/js
|
-- LSP: ts/js
|
||||||
lspconfig.tsserver.setup({
|
lspconfig.ts_ls.setup({
|
||||||
init_options = {
|
init_options = {
|
||||||
plugins = {
|
plugins = {
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user