mirror of
https://github.com/neovim/neovim.git
synced 2026-07-11 03:49:41 +00:00
vim-patch:5faeb60480c6 (#28768)
runtime(doc): clarify {special} argument for shellescape()
closes: vim/vim#14770
5faeb60480
N/A patch:
vim-patch:c0e038b59f84
Co-authored-by: Enno <Konfekt@users.noreply.github.com>
This commit is contained in:
@@ -9903,10 +9903,11 @@ M.funcs = {
|
||||
Otherwise encloses {string} in single-quotes and replaces all
|
||||
"'" with "'\''".
|
||||
|
||||
If {special} is a |non-zero-arg|:
|
||||
- Special items such as "!", "%", "#" and "<cword>" will be
|
||||
preceded by a backslash. The backslash will be removed again
|
||||
by the |:!| command.
|
||||
The {special} argument adds additional escaping of keywords
|
||||
used in Vim commands. If it is a |non-zero-arg|:
|
||||
- Special items such as "!", "%", "#" and "<cword>" (as listed
|
||||
in |expand()|) will be preceded by a backslash.
|
||||
The backslash will be removed again by the |:!| command.
|
||||
- The <NL> character is escaped.
|
||||
|
||||
If 'shell' contains "csh" in the tail:
|
||||
|
||||
Reference in New Issue
Block a user