mirror of
https://github.com/neovim/neovim.git
synced 2025-12-05 22:22:44 +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.