From 5aa7583d726a5973417b71c671179e6d6f365a44 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 4 Oct 2024 14:49:18 +0900 Subject: nvim/lazy: update --- .config/nvim/lua/vimrc/plugins.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.config/nvim/lua/vimrc/plugins.lua') diff --git a/.config/nvim/lua/vimrc/plugins.lua b/.config/nvim/lua/vimrc/plugins.lua index d8bd0c7..ed8bc55 100644 --- a/.config/nvim/lua/vimrc/plugins.lua +++ b/.config/nvim/lua/vimrc/plugins.lua @@ -599,7 +599,7 @@ return { local lspconfig = require('lspconfig') -- TODO - -- Enable denols xor tsserver. + -- Enable denols xor ts_ls. local is_deno_repo if vim.fn.executable('deno') == 1 then is_deno_repo = vim.fs.root(0, {"deno.json", "deno.jsonc"}) ~= nil @@ -609,7 +609,7 @@ return { if vim.fn.executable('typescript-language-server') == 1 then if not is_deno_repo then - lspconfig.tsserver.setup({}) + lspconfig.ts_ls.setup({}) end end if vim.fn.executable('deno') == 1 then @@ -660,7 +660,7 @@ return { vim.keymap.set('n', 'f', function() vim.lsp.buf.format({ async = true, - filter = function(client) return client.name ~= "tsserver" end, + filter = function(client) return client.name ~= "ts_ls" end, }) end, opts) @@ -670,7 +670,7 @@ return { vim.lsp.buf.format({ async = false, timeout_ms = 5000, - filter = function(client) return client.name ~= "tsserver" end, + filter = function(client) return client.name ~= "ts_ls" end, }) end }) -- cgit v1.2.3-70-g09d2