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.expandtab = true
|
||||||
vim.opt.shiftwidth = indent
|
vim.opt.shiftwidth = indent
|
||||||
vim.opt.smartindent = true
|
vim.opt.smartindent = true
|
||||||
|
vim.opt.autoindent = true
|
||||||
vim.opt.tabstop = indent
|
vim.opt.tabstop = indent
|
||||||
|
|
||||||
-- Line numbers
|
-- Line numbers
|
||||||
|
|||||||
@ -39,7 +39,6 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
require("nvim-treesitter.configs").setup({
|
require("nvim-treesitter.configs").setup({
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = true },
|
|
||||||
endwise = { enable = true },
|
endwise = { enable = true },
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user