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

@ -1,7 +1,7 @@
vim.o.number = true vim.o.number = true
vim.o.relativenumber = true vim.o.relativenumber = true
vim.opt.spelllang = {"en_us", "nl"} vim.opt.spelllang = { "en_us", "nl" }
vim.opt.termguicolors = true vim.opt.termguicolors = true
@ -40,3 +40,9 @@ vim.o.scrolloff = 10
-- instead raise a dialog asking if you wish to save the current file(s) -- instead raise a dialog asking if you wish to save the current file(s)
-- See `:help 'confirm'` -- See `:help 'confirm'`
vim.o.confirm = true 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