From 985a584092a495c6a69b6930fbd9cca43a3f89dc Mon Sep 17 00:00:00 2001 From: Joost Agterhoek Date: Wed, 16 Jul 2025 16:34:14 +0200 Subject: [PATCH] added options for nvim-ufo --- lua/options.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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