all repos

init.lua @ 9abdccaaa74c28b58bdcdcc05e01016024f885b4

my nvim config
1 files changed, 4 insertions(+), 0 deletions(-)
feat(options): setup fold to use treesitter instructions, and disable folds
Author: Olexandr Smirnov olexsmir@gmail.com
Committed at: 2025-07-08 13:07:58 +0300
Parent: 56dc9b0
M lua/core/options.lua

@@ -73,6 +73,10 @@ "indent-heuristic",

-- "inline:word", } +vim.o.foldenable = false +vim.o.foldmethod = "expr" +vim.o.foldexpr = "v:lua.vim.treesitter.foldexpr()" + -- swap files vim.o.undofile = true vim.o.swapfile = false