From 4493d047e85b2ed6b3b3d408fc7d202ca9d5b1f5 Mon Sep 17 00:00:00 2001 From: gaiety Date: Thu, 9 Oct 2025 11:59:07 -0600 Subject: [PATCH] Delete nvim/lua/plugins/folding.lua --- nvim/lua/plugins/folding.lua | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 nvim/lua/plugins/folding.lua diff --git a/nvim/lua/plugins/folding.lua b/nvim/lua/plugins/folding.lua deleted file mode 100644 index ed92c0d..0000000 --- a/nvim/lua/plugins/folding.lua +++ /dev/null @@ -1,32 +0,0 @@ -return { - "chrisgrieser/nvim-origami", - event = "VeryLazy", - opts = { - useLspFoldsWithTreesitterFallback = true, -- required for `autoFold` - pauseFoldsOnSearch = true, - foldtext = { - enabled = true, - padding = 3, - lineCount = { - template = "%d lines", -- `%d` is replaced with the number of folded lines - hlgroup = "Comment", - }, - diagnosticsCount = true, -- uses hlgroups and icons from `vim.diagnostic.config().signs` - gitsignsCount = true, -- requires `gitsigns.nvim` - }, - autoFold = { - enabled = true, - kinds = { "comment", "imports" }, ---@type lsp.FoldingRangeKind[] - }, - foldKeymaps = { - setup = true, -- modifies `h` and `l` - hOnlyOpensOnFirstColumn = false, - }, - }, - - -- recommended: disable vim's auto-folding - init = function() - vim.opt.foldlevel = 99 - vim.opt.foldlevelstart = 99 - end, -}