From 44045d1fa9b7d49fbb444cd58af1a09212bb030d Mon Sep 17 00:00:00 2001 From: juanmagalhaes Date: Thu, 17 Apr 2025 19:54:21 -0300 Subject: [PATCH] Use ts_ls instead of tsserver --- lua/kickstart/plugins/autoformat.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/kickstart/plugins/autoformat.lua b/lua/kickstart/plugins/autoformat.lua index 1bbd622e..ed9c2563 100644 --- a/lua/kickstart/plugins/autoformat.lua +++ b/lua/kickstart/plugins/autoformat.lua @@ -46,9 +46,9 @@ return { -- Tsserver usually works poorly. Sorry you work with bad languages -- You can remove this line if you know what you're doing :) - -- if client.name == 'tsserver' then - -- return - -- end + if client.name == 'ts_ls' then + return + end -- Create an autocmd that will run *before* we save the buffer. -- Run the formatting command for the LSP that has just attached.