attempt to fix lsp
This commit is contained in:
parent
11272260db
commit
553935a90b
6 changed files with 150 additions and 32 deletions
|
|
@ -69,3 +69,13 @@ vim.api.nvim_create_autocmd("FileType", {
|
|||
vim.bo.expandtab = true
|
||||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "typescript", "typescriptreact", "javascript", "javascriptreact" },
|
||||
callback = function()
|
||||
vim.bo.tabstop = 2
|
||||
vim.bo.shiftwidth = 2
|
||||
vim.bo.softtabstop = 2
|
||||
vim.bo.expandtab = true
|
||||
end,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue