A Neovim plugin providing elegant folding features with LSP/Treesitter integration, fold decorations, and intuitive keymaps.
nvim-origami is a Neovim plugin that enhances code folding with intelligent features like LSP/Treesitter integration, visual fold decorations, and intuitive keymap overrides. It solves the problem of clunky folding workflows by providing a more elegant and efficient way to navigate folded code sections.
Neovim users who work with large codebases and want improved folding functionality, particularly developers using LSP and Treesitter for code analysis.
Developers choose nvim-origami because it replaces heavier alternatives like nvim-ufo with a more lightweight solution while adding unique features like search-aware folding and decorative fold text with diagnostics and git integration.
Fold with relentless elegance. A collection of quality-of-life features related to folding.
Prioritizes LSP for folding data with Treesitter fallback, ensuring accurate fold ranges based on code structure rather than just indentation.
Enhances folds with line counts, diagnostics, and git changes via gitsigns.nvim, providing visual context without breaking syntax highlighting.
Overloads h, l, ^, and $ to fold/unfold recursively, replacing clunky z-commands with natural movements for faster navigation.
Pauses folds during search operations and restores them afterward, preventing folds from staying open unintentionally.
Explicitly incompatible with nvim-ufo, forcing users to choose between folding solutions and potentially migrate existing setups.
Auto-fold for comments and imports only works with LSP support, limiting functionality in environments without language servers.
Folds are often opened after running most formatters, a known issue that requires specific tools like efm-language-server or conform.nvim to mitigate.
Not UFO in the sky, but an ultra fold in Neovim.
This neovim plugin allows you to cycle folds open or closed
A neovim version of the inline fold plugin
Hide comments, focus on the code flow, and reveal them if needed 🧘
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.