mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
vim-patch:7.4.554
Problem: Missing part of patch 7.4.519. Solution: Copy back regprog after calling vim_regexec. https://github.com/vim/vim/tree/v7-4-554
This commit is contained in:

committed by
Justin M. Keyes

parent
b3519ca73b
commit
d9a51ca811
@@ -561,7 +561,9 @@ restofline:
|
||||
tail = NULL;
|
||||
|
||||
regmatch.regprog = fmt_ptr->prog;
|
||||
if (vim_regexec(®match, IObuff, (colnr_T)0)) {
|
||||
int r = vim_regexec(®match, IObuff, (colnr_T)0);
|
||||
fmt_ptr->prog = regmatch.regprog;
|
||||
if (r) {
|
||||
if ((idx == 'C' || idx == 'Z') && !multiline)
|
||||
continue;
|
||||
if (vim_strchr((char_u *)"EWI", idx) != NULL)
|
||||
|
Reference in New Issue
Block a user