Specify only lists can expand to multiple args

This commit is contained in:
lePerdu 2019-01-30 16:17:45 -05:00
parent 5a4ba0b35f
commit a7320a01aa

View File

@ -54,9 +54,10 @@ Like "variable expansion" and "command substitution" in shell programming,
Kakoune expansions can expand to multiple "words" - that is, separate Kakoune expansions can expand to multiple "words" - that is, separate
arguments on the resulting command-line. However, unlike shell programming, arguments on the resulting command-line. However, unlike shell programming,
Kakoune expansions cannot _accidentally_ expand to multiple words, even if Kakoune expansions cannot _accidentally_ expand to multiple words, even if
the expansion contains whitespace or other special characters. While in the expansion contains whitespace or other special characters: only list types
shell-programming it's good practice to always wrap expansions in can expand to multiple arguments. While in shell-programming it's good practice
double-quotes, in Kakoune it's perfectly safe to leave expansions unquoted. to always wrap expansions in double-quotes, in Kakoune it's perfectly safe to
leave expansions unquoted.
== Argument expansions == Argument expansions