aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-06-16 09:12:22 +0800
committerGitHub <noreply@github.com>2026-06-16 09:12:22 +0800
commitc10a8272899e4fc64955c453795ec7b5f20ab3da (patch)
tree527e296421ec50a35404b1ef55a81127f2950ecd /test/functional/vimscript/executable_spec.lua
parent02b74153247df60c6770e1918db9ef2fd5f83058 (diff)
downloadrneovim-c10a8272899e4fc64955c453795ec7b5f20ab3da.tar.gz
rneovim-c10a8272899e4fc64955c453795ec7b5f20ab3da.tar.bz2
rneovim-c10a8272899e4fc64955c453795ec7b5f20ab3da.zip
vim-patch:c6705b2: runtime(erlang): Optimize operators and bitstring types (#40278)
This commit makes processing the erlangOperator and erlangBitType syntax items faster. - erlangOperator changes: - Vim now parses erlangOperator faster because we define the operators individually. - The order of operators in erlangOperator had to be changed to make the edge cases work the same as before (for example erlangEqualsBinary). - erlangBitType changes: - Vim now parses erlangBitType faster because: 1. Now the long `\%(integer\|float\|...\)` sections are preceded by "beginning of word" patterns (`\<`). 2. Now we use the old regexp engine (`\%#=1`). Previously when an Erlang file contained long lines with erlangOperator or erlangBitType patterns near the end, redrawing these lines was slow, and typing at the end of the line was also slow. For example, redrawing a 1787 characters long test line is now roughly six times faster. fixes: vim/vim#5593 closes: vim/vim#20524 https://github.com/vim/vim/commit/c6705b2c3ecbc44f751c961122f08b0a3d8d7b88 Co-authored-by: Csaba Hoch <csaba.hoch@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions