We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8b9e38 + f7eb324 commit 2f1c5b3Copy full SHA for 2f1c5b3
lua/nivi/core/options.lua
@@ -39,3 +39,14 @@ opt.splitbelow = true -- split horizontal window to the bottom
39
40
-- turn off swapfile
41
opt.swapfile = false
42
+
43
+-- enable automatic folding
44
45
+-- Set the fold method to syntax-based folding
46
+opt.foldmethod = "indent"
47
48
+-- Set the default fold level to 99 to keep all folds open when opening a file
49
+opt.foldlevel = 99
50
51
+-- Enable folding automatically when opening a file
52
+opt.foldenable = true
0 commit comments