diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-07-01 07:08:58 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-30 23:08:58 +0000 |
| commit | 3fea2a7fc57753003a4b251592af15c78011e0de (patch) | |
| tree | 185cf37f2c5a775fe12aa2c3c2b44592938bc90c /test/functional/vimscript/executable_spec.lua | |
| parent | b19962e827388cdb6381843086b21f9fff08fbd0 (diff) | |
| download | rneovim-3fea2a7fc57753003a4b251592af15c78011e0de.tar.gz rneovim-3fea2a7fc57753003a4b251592af15c78011e0de.tar.bz2 rneovim-3fea2a7fc57753003a4b251592af15c78011e0de.zip | |
vim-patch:9.2.0754: repeated completion length lookup in search_for_exact_line (#40511)
Problem: search_for_exact_line() repeatedly calls ins_compl_len() and
relies on ternary operator precedence.
Solution: Cache the completion length and parenthesize the ternary
expression.
closes: vim/vim#20678
https://github.com/vim/vim/commit/ac443b992411d1df7bf58f0681627cf1e52077a8
Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions