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:
parent
b467fe0d8b
commit
c54ce25f94
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user