Skip to content

Commit

Permalink
update tsserver config
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesChung committed Jul 5, 2024
1 parent 6cb4297 commit 8bf99a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/plugins/lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ return {
lspconfig.tsserver.setup({
capabilities = capabilities,
on_attach = function(client, bufnr)
client.server_capabilities.documentFormattingProvider = false
-- client.server_capabilities.documentFormattingProvider = false
vim.opt_local.tabstop = 2
vim.opt_local.shiftwidth = 2
end,
})
lspconfig.vimls.setup({
Expand Down

0 comments on commit 8bf99a8

Please sign in to comment.