diff --git a/lua/options.lua b/lua/options.lua index 35e2b76..dfbbd59 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -1,7 +1,7 @@ vim.o.number = true vim.o.relativenumber = true -vim.opt.spelllang = {"en_us", "nl"} +vim.opt.spelllang = { "en_us", "nl" } 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) -- 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