vim-patch:8.1.0887: the 'l' flag in :subsitute is sticky

Problem:    The 'l' flag in :subsitute is sticky.
Solution:   Reset the flag. (Dominique Pelle, closes vim/vim#3925)
9474716d39
This commit is contained in:
Jan Edmund Lazo
2019-03-27 21:30:18 -04:00
parent 2470c88291
commit 2894d04b19
2 changed files with 27 additions and 0 deletions

View File

@@ -3181,6 +3181,7 @@ static char_u *sub_parse_flags(char_u *cmd, subflags_T *subflags,
subflags->do_ask = false;
subflags->do_error = true;
subflags->do_print = false;
subflags->do_list = false;
subflags->do_count = false;
subflags->do_number = false;
subflags->do_ic = kSubHonorOptions;