fix: do not auto fold when opening buffers

This commit is contained in:
2024-12-10 15:10:13 +01:00
parent 1494ef49d9
commit 9c20fdbd22
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -21,6 +21,8 @@ vim.opt.expandtab = true
vim.opt.shiftwidth = 4
vim.opt.smarttab = false
-- Folds are configured in nvim-treesitter, so this is only for fallback
vim.opt.foldenable = false
vim.opt.foldlevel = 99
vim.opt.foldlevelstart = 99
vim.opt.foldmethod = "indent"
vim.opt.foldignore = ""
-1
View File
@@ -34,7 +34,6 @@ return {
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
vim.opt.foldenable = true
-- Disable LSP semantic highlighting for comments because it will otherwise
-- override highlights from `comment`.