mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
vim-patch:8.2.3393: escaping for fish shell is skipping some characters
Problem: Escaping for fish shell is skipping some characters.
Solution: Escape character after backslash if needed. (Jason Cox,
closes vim/vim#8827)
6631597452
This commit is contained in:
@@ -278,6 +278,7 @@ char_u *vim_strsave_shellescape(const char_u *string,
|
||||
if (*p == '\\' && fish_like) {
|
||||
*d++ = '\\';
|
||||
*d++ = *p++;
|
||||
continue;
|
||||
}
|
||||
|
||||
MB_COPY_CHAR(p, d);
|
||||
|
Reference in New Issue
Block a user