diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-31 23:58:08 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-06-01 00:15:02 -0400 |
commit | a51f24fda3a9b7985104fb2c93841b4781903831 (patch) | |
tree | 8cbe4d734956928abcadc9b3b45a900b8b6d16b1 /src/nvim/ops.c | |
parent | c6cd6081b8c449fa9890c18b5e2151e3af9bd45d (diff) | |
download | rneovim-a51f24fda3a9b7985104fb2c93841b4781903831.tar.gz rneovim-a51f24fda3a9b7985104fb2c93841b4781903831.tar.bz2 rneovim-a51f24fda3a9b7985104fb2c93841b4781903831.zip |
vim-patch:8.1.1000: indenting is off
Problem: Indenting is off.
Solution: Make indenting consistent and update comments. (Ozaki Kiichi,
closes vim/vim#4079)
https://github.com/vim/vim/commit/fd731b0e31df9f167098c4a77ff894fea6cb7f5c
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 9b68b713ad..fa502f4ad0 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -983,13 +983,16 @@ do_execreg( EMSG(_(e_nolastcmd)); return FAIL; } - XFREE_CLEAR(new_last_cmdline); // don't keep the cmdline containing @: + // don't keep the cmdline containing @: + XFREE_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); /* When in Visual mode "'<,'>" will be prepended to the command. * Remove it when it's already there. */ if (VIsual_active && STRNCMP(p, "'<,'>", 5) == 0) |