diff options
author | Riley Bruins <ribru17@hotmail.com> | 2025-01-13 09:42:39 -0800 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2025-01-14 09:30:43 +0000 |
commit | b192d58284a791c55f5ae000250fc948e9098d47 (patch) | |
tree | be44627917f507af8ec22f9c522955ab35575d2e /runtime/doc | |
parent | 5a54681025ec28129c21c875943a3f9c37959f75 (diff) | |
download | rneovim-b192d58284a791c55f5ae000250fc948e9098d47.tar.gz rneovim-b192d58284a791c55f5ae000250fc948e9098d47.tar.bz2 rneovim-b192d58284a791c55f5ae000250fc948e9098d47.zip |
perf(treesitter): calculate folds asynchronously
**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.
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/news.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 3edf146b19..89504ae244 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -305,6 +305,7 @@ PERFORMANCE queries. • Treesitter highlighting is now asynchronous. To force synchronous parsing, use `vim.g._ts_force_sync_parsing = true`. +• Treesitter folding is now calculated asynchronously. PLUGINS |