aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-01-22 10:00:11 +0800
committerGitHub <noreply@github.com>2024-01-22 10:00:11 +0800
commit8c6de9147cabbf99d18afbdbed2f11f30c1d0dfc (patch)
treeb05e873236f53b2b9dc244c00f538eb47f45ab2f /runtime
parenta25aeee856e2fb02f93ffa5c2e5d43fd75ead2cf (diff)
parentfd08de4b85ae42fe3ad5b480b58df9f7fff76269 (diff)
downloadrneovim-8c6de9147cabbf99d18afbdbed2f11f30c1d0dfc.tar.gz
rneovim-8c6de9147cabbf99d18afbdbed2f11f30c1d0dfc.tar.bz2
rneovim-8c6de9147cabbf99d18afbdbed2f11f30c1d0dfc.zip
Merge pull request #26813 from VanaIgr/screen-pos-speedup
perf: make screen size and position calculations more efficient N/A patches for version.c: vim-patch:9.1.0037: Calling get_breakindent_win() repeatedly when computing virtcol vim-patch:9.1.0038: Unnecessary loop in getvcol()
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/news.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 899127ff5a..9ef9132c65 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -137,6 +137,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|.