diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-05-21 14:46:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-21 14:46:19 +0200 |
commit | 62d5137c8348e80d6231d8c7cc3784c70361030c (patch) | |
tree | d0c339ece770bfa44f1838baaa8548180ba7d687 /src/nvim/ex_cmds.c | |
parent | 1de77bbcec8ea4e50475e9b33986246e47614b84 (diff) | |
parent | 718702078356c4d53ef94e72662450b0971b5056 (diff) | |
download | rneovim-62d5137c8348e80d6231d8c7cc3784c70361030c.tar.gz rneovim-62d5137c8348e80d6231d8c7cc3784c70361030c.tar.bz2 rneovim-62d5137c8348e80d6231d8c7cc3784c70361030c.zip |
Merge #10038 from janlazo/vim-8.0.1514
vim-patch:8.0.{1514,1519},8.1.1360
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 8436ac810e..b3933ac9a6 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -3817,6 +3817,7 @@ static buf_T *do_sub(exarg_T *eap, proftime_T timeout, // 3. Substitute the string. During 'inccommand' preview only do this if // there is a replace pattern. if (!preview || has_second_delim) { + save_ma = curbuf->b_p_ma; if (subflags.do_count) { // prevent accidentally changing the buffer by a function curbuf->b_p_ma = false; |