diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:40:16 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:40:16 +0000 |
| commit | b94eefa6b58f274bb61db4e792105c3959cf2022 (patch) | |
| tree | 3d2896fb46ebc769e4fea8cf4f02ce3104e1f974 /nvim/after/plugin/origami.lua | |
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, +-- }, +-- } |