diff options
author | Jason Cox <dev@jasoncarloscox.com> | 2021-08-31 20:16:03 -0600 |
---|---|---|
committer | Jason Cox <dev@jasoncarloscox.com> | 2021-09-02 13:07:29 -0600 |
commit | 85ba41a4b343d0a8fe6d3d5af90a74640220f5cb (patch) | |
tree | 9dc771a9bb0b9f845ea9c03c6622265cf8f1e1d4 /runtime | |
parent | 284199bc4bf36bb74c481da9c8b2a43c1bbbeb51 (diff) | |
download | rneovim-85ba41a4b343d0a8fe6d3d5af90a74640220f5cb.tar.gz rneovim-85ba41a4b343d0a8fe6d3d5af90a74640220f5cb.tar.bz2 rneovim-85ba41a4b343d0a8fe6d3d5af90a74640220f5cb.zip |
vim-patch:8.2.3385: escaping for fish shell does not work properly
Problem: Escaping for fish shell does not work properly.
Solution: Insert a backslash before a backslash. (Jason Cox, closes vim/vim#8810)
https://github.com/vim/vim/commit/6e82351130ddb8d13cf3748b47f07cae77886fc7
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 87240831a2..9430d4ab58 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -8290,6 +8290,10 @@ shellescape({string} [, {special}]) *shellescape()* - The <NL> character is escaped (twice if {special} is a ||non-zero-arg|). + If 'shell' contains "fish" in the tail, the "\" character will + be escaped because in fish it is used as an escape character + inside single quotes. + Example of use with a |:!| command: > :exe '!dir ' . shellescape(expand('<cfile>'), 1) < This results in a directory listing for the file under the |