aboutsummaryrefslogtreecommitdiff
path: root/nvim/after/plugin/origami.lua
blob: f18f9cac71ce6f33ee28c708813676ba8a4436c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- require("origami").setup {
--   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 = false,
--     kinds = { "comment" }, ---@type lsp.FoldingRangeKind[]
--   },
--   foldKeymaps = {
--     setup = true, -- modifies `h` and `l`
--     hOnlyOpensOnFirstColumn = false,
--   },
-- }