added options for nvim-ufo

This commit is contained in:
Joost Agterhoek 2025-07-16 16:34:14 +02:00
parent ecfda4f6a6
commit 985a584092

View File

@ -40,3 +40,9 @@ vim.o.scrolloff = 10
-- instead raise a dialog asking if you wish to save the current file(s)
-- See `:help 'confirm'`
vim.o.confirm = true
-- from #nvim-ufo https://github.com/kevinhwang91/nvim-ufo?tab=readme-ov-file#installation
vim.o.foldcolumn = "1" -- '0' is not bad
vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
vim.o.foldlevelstart = 99
vim.o.foldenable = true