Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions lua/nivi/core/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,14 @@ opt.splitbelow = true -- split horizontal window to the bottom

-- turn off swapfile
opt.swapfile = false

-- enable automatic folding

-- Set the fold method to syntax-based folding
opt.foldmethod = "indent"

-- Set the default fold level to 99 to keep all folds open when opening a file
opt.foldlevel = 99

-- Enable folding automatically when opening a file
opt.foldenable = true