aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 1e150444d0..c00b7012d1 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -4429,16 +4429,15 @@ void ex_global(exarg_T *eap)
if (got_int)
MSG(_(e_interr));
else if (ndone == 0) {
- if (type == 'v')
+ if (type == 'v') {
smsg(_("Pattern found in every line: %s"), pat);
- else
+ } else {
smsg(_("Pattern not found: %s"), pat);
} else {
start_global_changes();
global_exe(cmd);
end_global_changes();
}
-
ml_clearmarked(); /* clear rest of the marks */
vim_regfree(regmatch.regprog);
}