diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2025-02-13 16:57:44 -0800 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-02-21 09:56:21 +0100 |
| commit | 562056c87573a532a0e670952d23d77026eeae28 (patch) | |
| tree | af92dc7f3d4c91dd2ff5475a8bec2999bc5cd809 /runtime/doc | |
| parent | b533c0f222ed8815803cc4a948cc8d30d43763d1 (diff) | |
| download | rneovim-562056c87573a532a0e670952d23d77026eeae28.tar.gz rneovim-562056c87573a532a0e670952d23d77026eeae28.tar.bz2 rneovim-562056c87573a532a0e670952d23d77026eeae28.zip | |
perf(treesitter): only search for injections within the parse range
Co-authored-by: Jaehwang Jung <tomtomjhj@gmail.com>
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/news.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index f743bfc78b..314ac23338 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -340,6 +340,9 @@ PERFORMANCE • Treesitter highlighting is now asynchronous. To force synchronous parsing, use `vim.g._ts_force_sync_parsing = true`. • Treesitter folding is now calculated asynchronously. +• |LanguageTree:parse()| now only runs the injection query on the provided + range (as long as the language does not have a combined injection), + significantly improving |treesitter-highlight| performance. PLUGINS |