diff options
author | VanaIgr <vanaigranov@gmail.com> | 2024-01-13 23:48:12 -0600 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-01-22 09:05:01 +0800 |
commit | fd08de4b85ae42fe3ad5b480b58df9f7fff76269 (patch) | |
tree | c414a7aa534cf20e343aed0a63f424bd25e45103 | |
parent | cdf848a314bf91a0c87c717f9a44742dea877515 (diff) | |
download | rneovim-fd08de4b85ae42fe3ad5b480b58df9f7fff76269.tar.gz rneovim-fd08de4b85ae42fe3ad5b480b58df9f7fff76269.tar.bz2 rneovim-fd08de4b85ae42fe3ad5b480b58df9f7fff76269.zip |
docs(news): expand the list of performance improvements
When computing on-screen size or position, the size 'breakindent' and 'showbreak' is now cached,
and checks for whether a faster character size function can be used are performed only once at the start.
Multibyte characters are not decodes multiple times anymore, and character decoding functions are more efficient.
Additionally, the amount of trailing spaces for pasted blockwise text is now calculated correctly for multibyte characters.
Internal lisp formatting now doesn't erroneously use inline virtual text from a different line.
-rw-r--r-- | runtime/doc/news.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 7743f5981a..bc7619ad82 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -132,6 +132,8 @@ The following new APIs and features were added. • Treesitter highlighting now parses injections incrementally during screen redraws only for the line range being rendered. This significantly improves performance in large files with many injections. + • 'breakindent' performance is significantly improved for wrapped lines. + • Cursor movement, insertion with [count] and |screenpos()| are now faster. • |vim.iter()| provides a generic iterator interface for tables and Lua iterators |for-in|. |