diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-06-14 10:52:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-14 10:52:50 +0800 |
| commit | e997599894e083e79864913a6c6711083a7af35e (patch) | |
| tree | 074afd65d74400d09c35d8f18261a9188534561f /test/functional/vimscript/executable_spec.lua | |
| parent | 710431c6969a539f2ba011adfc769fa76d1e1e23 (diff) | |
| download | rneovim-e997599894e083e79864913a6c6711083a7af35e.tar.gz rneovim-e997599894e083e79864913a6c6711083a7af35e.tar.bz2 rneovim-e997599894e083e79864913a6c6711083a7af35e.zip | |
vim-patch:9.2.0640: the "%" command jumps to parens and braces inside comments (#40229)
Problem: The "%" command jumps to parens and braces inside comments,
unlike the "=" operator (cindent), which ignores them.
Solution: When 'comments' defines C-style comments and "%" is not in
'cpoptions', skip matching parens inside such comments, except
when the cursor is inside a comment so a match there can still
be found.
fixes: vim/vim#20329
related: vim/vim#20111
closes: vim/vim#20491
https://github.com/vim/vim/commit/b8a109dcfb96f213328a966a7e38eb28da697229
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions