mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07: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:
parent
9ca81b0259
commit
618e34ca09
9
runtime/doc/builtin.txt
generated
9
runtime/doc/builtin.txt
generated
@ -6962,10 +6962,11 @@ shellescape({string} [, {special}]) *shellescape()*
|
||||
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:
|
||||
|
9
runtime/lua/vim/_meta/vimfn.lua
generated
9
runtime/lua/vim/_meta/vimfn.lua
generated
@ -8293,10 +8293,11 @@ function vim.fn.sha256(string) end
|
||||
--- 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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user