fix: fix autoindent when not using autopairs

This commit is contained in:
2024-01-12 22:16:45 +01:00
parent 78e34a9645
commit 94baa93f4c
-7
View File
@@ -23,15 +23,8 @@ local function setup()
disable = {}, disable = {},
additional_vim_regex_highlighting = { "org", }, additional_vim_regex_highlighting = { "org", },
}, },
-- Indentation based on treesitter for the = operator.
-- NOTE: This is an experimental feature.
indent = {
enable = true,
},
}) })
vim.opt.foldmethod = "expr" vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()" vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
vim.opt.foldenable = false vim.opt.foldenable = false