diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-12-15 14:24:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-15 14:24:17 +0100 |
commit | 5e8f2048b5e7a3b06a6529283791f7030521f8a2 (patch) | |
tree | a4feadbaeb62916d90093b0ef19fbc31425c8326 /src/nvim/ex_cmds.c | |
parent | 2aba5569a1fa3154560a4a715b48f8ddd5c0aa25 (diff) | |
parent | 845973c9fed0da7a0d471f5b57ab361961a3de93 (diff) | |
download | rneovim-5e8f2048b5e7a3b06a6529283791f7030521f8a2.tar.gz rneovim-5e8f2048b5e7a3b06a6529283791f7030521f8a2.tar.bz2 rneovim-5e8f2048b5e7a3b06a6529283791f7030521f8a2.zip |
Merge #9367 'vim-patch:8.1.{585,588}'
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 0a9b6ecc57..36c4e333cf 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -5685,6 +5685,14 @@ void ex_sign(exarg_T *eap) int len; arg += 5; + for (s = arg; s + 1 < p; s++) { + if (*s == '\\') { + // Remove a backslash, so that it is possible + // to use a space. + STRMOVE(s, s + 1); + p--; + } + } // Count cells and check for non-printable chars cells = 0; |