diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-10-04 14:49:18 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-10-04 18:46:16 +0900 |
| commit | 5aa7583d726a5973417b71c671179e6d6f365a44 (patch) | |
| tree | 07714259229793c92d56cfc0084d6b098187e9cc /.config/nvim/lua/vimrc | |
| parent | 5837c735e803aa250b25cc12b4842a997e6fb72b (diff) | |
| download | dotfiles-5aa7583d726a5973417b71c671179e6d6f365a44.tar.gz dotfiles-5aa7583d726a5973417b71c671179e6d6f365a44.tar.zst dotfiles-5aa7583d726a5973417b71c671179e6d6f365a44.zip | |
nvim/lazy: update
Diffstat (limited to '.config/nvim/lua/vimrc')
| -rw-r--r-- | .config/nvim/lua/vimrc/plugins.lua | 8 |
1 files changed, 4 insertions, 4 deletions
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', '<space>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 }) |
