diff options
Diffstat (limited to 'nvim/after/plugin/origami.lua')
| -rw-r--r-- | nvim/after/plugin/origami.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nvim/after/plugin/origami.lua b/nvim/after/plugin/origami.lua new file mode 100644 index 0000000..f18f9ca --- /dev/null +++ b/nvim/after/plugin/origami.lua @@ -0,0 +1,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, +-- }, +-- } |