summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2023-05-04 12:49:50 +1000
committerMaxime Coste <mawww@kakoune.org>2023-05-04 12:49:50 +1000
commit04780b235b359daeb780ebf2ea15ae23006f598f (patch)
tree31a3982581cabe1fa4db6c5471c3979f14e2f592 /doc
parenta4918f934ceb8c36ab398c0c973174ac17fc8600 (diff)
Add support for recursive expansions with %exp{...}
%exp{...} just expands its content the same way double quoted strings do, but using a named expansion type makes it possible to use the more quoting mechanism to avoid quoting hell.
Diffstat (limited to 'doc')
-rw-r--r--doc/pages/expansions.asciidoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/pages/expansions.asciidoc b/doc/pages/expansions.asciidoc
index 191e588b..6d935a3f 100644
--- a/doc/pages/expansions.asciidoc
+++ b/doc/pages/expansions.asciidoc
@@ -427,3 +427,8 @@ everywhere.
A value described as a "quoted list" will follow the rules of Kakoune string
quoting (See <<command-parsing#,`:doc command-parsing`>>). An "unquoted list"
cannot contain any special characters that would require quoting.
+
+== Recursive Expansions
+
+Expansions with the type `exp` expand their content, the same way doubly
+quoted strings do.