Change typescript ls config for nvim
Some checks failed
pre-commit / pre-commit (push) Has been cancelled

This commit is contained in:
Torjus Håkestad 2024-09-16 22:24:28 +02:00
parent d403ce5274
commit f5fe230dfe

View File

@ -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 = {
}, },