1
0
mirror of https://github.com/danbee/dotfiles-local synced 2025-03-04 08:49:07 +00:00

Switch to nvim's built in autoindenter

Tree-sitter's auto indenting is buggy.
This commit is contained in:
Dan Barber 2024-09-12 15:42:11 -05:00
parent b467fe0d8b
commit c54ce25f94
2 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,7 @@ vim.opt.exrc = true
vim.opt.expandtab = true
vim.opt.shiftwidth = indent
vim.opt.smartindent = true
vim.opt.autoindent = true
vim.opt.tabstop = indent
-- Line numbers

View File

@ -39,7 +39,6 @@ return {
config = function()
require("nvim-treesitter.configs").setup({
highlight = { enable = true },
indent = { enable = true },
endwise = { enable = true },
auto_install = true,
sync_install = false,