added ufo

This commit is contained in:
Oliver Hartmann
2025-12-19 09:18:56 +01:00
parent 3cd0d6ebae
commit b65d662882

13
lua/plugins/ufo.lua Normal file
View File

@@ -0,0 +1,13 @@
return {
'kevinhwang91/nvim-ufo',
dependencies = {
'kevinhwang91/promise-async',
},
config = function()
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
require('ufo').setup()
end,
}