caio.co/de/dotfiles

Keep every fold open unless manually closed

Otherwise this acts weird with lsp-based fold: start with
everythingg open -> load lsp -> jump to some other file -> jump
back. Now all folds are closed
Id
6b0a4d92319b25fdf62d8f6b2c325f9f61a859f4
Author
Caio
Commit time
2025-04-10T06:45:26+01:00

Modified config/nvim/init.lua

@@ -14,7 +14,7
opt.completeopt = "menuone,noselect,preview"
opt.showbreak = "↪"
opt.virtualedit = "block"
-opt.foldlevelstart = 0
+opt.foldlevelstart = 99
opt.shiftround = true
opt.wildmode = "list:longest"
opt.mouse = "n"