+ { "chrisgrieser/nvim-origami", -- fold with elegance
+ event = "VeryLazy",
+ opts = {
+ foldKeymaps = { setup = false },
+ foldtext = {
+ padding = 1,
+ lineCount = {
+ template = "… %d lines"
+ }
+ }
+ },
+ init = function()
+ -- disable vim's folding
+ vim.opt.foldlevel = 99
+ vim.opt.foldlevelstart = 99
+ end
+ },