summaryrefslogtreecommitdiff
path: root/src/ops.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-09 11:23:58 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-09 11:23:58 +0100
commitfd731b0e31df9f167098c4a77ff894fea6cb7f5c (patch)
treec27514e7cb12e27538639fd9351d7066119c1c8f /src/ops.c
parent9d7fdd403a3a9ee0d008b6dcbcd2ecc9ec0f57b7 (diff)
downloadvim-git-fd731b0e31df9f167098c4a77ff894fea6cb7f5c.tar.gz
patch 8.1.1000: indenting is offv8.1.1000
Problem: Indenting is off. Solution: Make indenting consistent and update comments. (Ozaki Kiichi, closes #4079)
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/ops.c b/src/ops.c
index 3353cf9e2..1b39c3fb2 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -1245,10 +1245,15 @@ do_execreg(
emsg(_(e_nolastcmd));
return FAIL;
}
- VIM_CLEAR(new_last_cmdline); /* don't keep the cmdline containing @: */
- /* Escape all control characters with a CTRL-V */
+ // don't keep the cmdline containing @:
+ VIM_CLEAR(new_last_cmdline);
+ // Escape all control characters with a CTRL-V
p = vim_strsave_escaped_ext(last_cmdline,
- (char_u *)"\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037", Ctrl_V, FALSE);
+ (char_u *)"\001\002\003\004\005\006\007"
+ "\010\011\012\013\014\015\016\017"
+ "\020\021\022\023\024\025\026\027"
+ "\030\031\032\033\034\035\036\037",
+ Ctrl_V, FALSE);
if (p != NULL)
{
/* When in Visual mode "'<,'>" will be prepended to the command.