From a7320a01aace280117d81a52dab2fa4162ef2d24 Mon Sep 17 00:00:00 2001 From: lePerdu Date: Wed, 30 Jan 2019 16:17:45 -0500 Subject: [PATCH] Specify only lists can expand to multiple args --- doc/pages/expansions.asciidoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/pages/expansions.asciidoc b/doc/pages/expansions.asciidoc index 56bda28a..5907911d 100644 --- a/doc/pages/expansions.asciidoc +++ b/doc/pages/expansions.asciidoc @@ -54,9 +54,10 @@ Like "variable expansion" and "command substitution" in shell programming, Kakoune expansions can expand to multiple "words" - that is, separate arguments on the resulting command-line. However, unlike shell programming, Kakoune expansions cannot _accidentally_ expand to multiple words, even if -the expansion contains whitespace or other special characters. While in -shell-programming it's good practice to always wrap expansions in -double-quotes, in Kakoune it's perfectly safe to leave expansions unquoted. +the expansion contains whitespace or other special characters: only list types +can expand to multiple arguments. While in shell-programming it's good practice +to always wrap expansions in double-quotes, in Kakoune it's perfectly safe to +leave expansions unquoted. == Argument expansions