Mercurial > vim
diff src/ex_cmds.c @ 15760:aa80c63f34bb v8.1.0887
patch 8.1.0887: the 'l' flag in :subsitute is sticky
commit https://github.com/vim/vim/commit/9474716d39764ac5642e55b5548580cf53bd9bed
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 10 21:55:26 2019 +0100
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 https://github.com/vim/vim/issues/3925)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 10 Feb 2019 22:00:08 +0100 |
parents | 93b78c4a7cd5 |
children | 0d8291665b59 |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -2098,7 +2098,7 @@ write_viminfo(char_u *file, int forceit) fp_out = NULL; # ifdef EEXIST /* Avoid trying lots of names while the problem is lack - * of premission, only retry if the file already + * of permission, only retry if the file already * exists. */ if (errno != EEXIST) break; @@ -5040,6 +5040,7 @@ do_sub(exarg_T *eap) } subflags.do_error = TRUE; subflags.do_print = FALSE; + subflags.do_list = FALSE; subflags.do_count = FALSE; subflags.do_number = FALSE; subflags.do_ic = 0;