Skip to content

Commit 58de9eb

Browse files
committed
changed out tsserver wich is depreciated
1 parent a42d15b commit 58de9eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: ftdetect/ts.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
vim.api.nvim_create_autocmd("BufReadPre", {
22
pattern = "*.ts",
3-
command = "setlocal syntax=css tabstop=2 shiftwidth=2 softtabstop=2",
3+
command = "setlocal tabstop=2 shiftwidth=2 softtabstop=2",
44
})

Diff for: init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ lsp_conf.cmake.setup({}) -- cmake
4242

4343
lsp_conf.html.setup({}) -- html
4444

45-
lsp_conf.tsserver.setup({}) -- type script
45+
lsp_conf.ts_ls.setup({}) -- type script

0 commit comments

Comments
 (0)