mirror of
https://github.com/neovim/neovim.git
synced 2025-11-03 17:24:29 +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.