mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 13:58:18 +00:00
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()
This commit is contained in:
@@ -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|.
|
||||
|
Reference in New Issue
Block a user