mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00

**Problem:** The treesitter `foldexpr` runs synchronous parses to calculate fold levels, which eliminates async parsing performance in the highlighter. **Solution:** Migrate the `foldexpr` to also calculate and apply fold levels asynchronously.