From f5fe230dfec0d7b74235af1a3bf7ce3f4fa58fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Mon, 16 Sep 2024 22:24:28 +0200 Subject: [PATCH] Change typescript ls config for nvim --- home/editor/neovim/plugins.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/editor/neovim/plugins.lua b/home/editor/neovim/plugins.lua index a464467..5d5bea7 100644 --- a/home/editor/neovim/plugins.lua +++ b/home/editor/neovim/plugins.lua @@ -17,7 +17,7 @@ lsp_zero.format_on_save({ ['gopls'] = { 'go' }, ['nil_ls'] = { 'nix' }, ['lua_ls'] = { 'lua' }, - ['tsserver'] = { 'typescript', 'javascript' }, + ['ts_ls'] = { 'typescript', 'javascript' }, }, }) -- LSP: go @@ -110,7 +110,7 @@ lspconfig.lua_ls.setup({ }) -- LSP: ts/js -lspconfig.tsserver.setup({ +lspconfig.ts_ls.setup({ init_options = { plugins = { },