mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
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.
This commit is contained in:
parent
cdf848a314
commit
fd08de4b85
@ -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|.
|
||||
|
Loading…
Reference in New Issue
Block a user