# kevinhwang91/nvim-ufo

Not UFO in the sky, but an ultra fold in Neovim.

Repository: https://github.com/kevinhwang91/nvim-ufo
Canonical: https://ross.abutalabs.com/products/nvim-ufo
Language: Lua
License: BSD-3-Clause
License Family: permissive
Topics: fold, lua, neovim, neovim-lua, neovim-plugin, nvim, lsp
Last push: 2026-01-11T10:47:32+00:00

## Health v2 (maintenance only)
Score: 50/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 61, release rhythm 8, longevity 100
- inputs: {"age_days": 1554, "days_push": 234, "days_rel": 513, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2949, forks 69 (observed 2026-08-28T04:07:31.924606+00:00)

## What it is
A Neovim plugin that modernizes code folding with high performance, using LSP FoldingRange for accurate folds and offering fold peeking and customizable fold text. It integrates with both built-in Neovim LSP and coc.nvim.

## Use cases
- make code folding in Neovim look like a modern IDE
- get accurate folds from LSP foldingRange
- peek inside folded code without opening it
- customize fold text and foldcolumn appearance
- avoid Neovim blocking when computing folds

## When to choose
- you use Neovim 0.7.2+ and want modern, IDE-like folding
- you want LSP-based accurate folding with fallback strategies
- you need fast, non-blocking fold handling in large files

## When to avoid
- you use Vim instead of Neovim
- you're happy with Neovim's built-in folding
- you can't add the foldingRange LSP capability or coc.nvim

## Facets
- artifact type: plugin
- maturity: active
- function: editor, plugin-system
- domain: text-editors, developer-tools
- platform: windows, editor-plugin
- tags: neovim, code-folding, lsp, lua, foldingrange, editor-enhancement, linux, macos

## Member repositories
- kevinhwang91/nvim-ufo (main) score 50

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:31.924606+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:32:44.564097+00:00, confidence not recorded.
  - readme: https://github.com/kevinhwang91/nvim-ufo (fetched 2026-08-28T04:07:31.924606+00:00, sha cd499f2613e1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
