Skip to content

Commit

Permalink
lsp(ts_ls): update tsserver to ts_ls for disabling ts_ls autoform…
Browse files Browse the repository at this point in the history
…atting
  • Loading branch information
ttytm committed Sep 11, 2024
1 parent d8e93ad commit f74a3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nxvim/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ local function toggle_format_on_save(silent)
vim.lsp.buf.format({
async = false,
filter = function(client)
for _, name in ipairs({ "zls", "tsserver", "volar" }) do
for _, name in ipairs({ "zls", "ts_ls", "volar" }) do
if name == client.name then return false end
end
return true
Expand Down

0 comments on commit f74a3ad

Please sign in to comment.