Delete nvim/lua/plugins/folding.lua
This commit is contained in:
parent
45c5e8443f
commit
4493d047e8
1 changed files with 0 additions and 32 deletions
|
@ -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,
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue