diff options
| author | Maxime Coste <mawww@kakoune.org> | 2023-05-04 12:49:50 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2023-05-04 12:49:50 +1000 |
| commit | 04780b235b359daeb780ebf2ea15ae23006f598f (patch) | |
| tree | 31a3982581cabe1fa4db6c5471c3979f14e2f592 /src/main.cc | |
| parent | a4918f934ceb8c36ab398c0c973174ac17fc8600 (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 'src/main.cc')
| -rw-r--r-- | src/main.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc index fef83090..b64b14d6 100644 --- a/src/main.cc +++ b/src/main.cc @@ -44,6 +44,11 @@ struct { unsigned int version; StringView notes; } constexpr version_notes[] = { { + 0, + "» History is now stored linearly instead of in a tree\n" + "» {+u}%exp\\{...}{} expansions provide flexible quoting for expanded " + "strings (as double quoted strings)\n" + }, { 20221031, "» {+b}<esc>{} does not end macro recording anymore, use {+b}Q{}\n" "» pipe commands do not append final end-of-lines anymore\n" |
