diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-07-25 07:07:22 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-25 07:07:22 +0800 |
| commit | 63c84e4c1a0224b478c9e7ed48d483d0d749a540 (patch) | |
| tree | 1644c181aa32ca5a74f911b0dd0d08b4d8dfe20b /runtime/syntax/python.vim | |
| parent | 0e1a24836de552357b4acd3c54b9d7dd72407451 (diff) | |
| download | rneovim-63c84e4c1a0224b478c9e7ed48d483d0d749a540.tar.gz rneovim-63c84e4c1a0224b478c9e7ed48d483d0d749a540.tar.bz2 rneovim-63c84e4c1a0224b478c9e7ed48d483d0d749a540.zip | |
vim-patch:9.2.0848: tagfunc "cmd" with a generic Ex command corrupts the tag entry (#40951)
Problem: When a tagfunc returns a "cmd" that is neither a line number nor
a search pattern, the tag entry is corrupted: the "kind" field is
lost and taglist() returns a mangled "cmd".
Solution: Accept any Ex command in "cmd" as in a tags file, terminate a
generic command with a bar so the trailing fields are preserved,
and reject a value that cannot be stored in a tag line with E987
(Hirohito Higashi).
fixes: vim/vim#20781
related: vim/vim#20790
closes: vim/vim#20828
https://github.com/vim/vim/commit/86adef19fc2f1d59a38f3ba978ce33f0b4329c0f
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Mao-Yining <mao.yining@outlook.com>
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions