summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-06-07 18:59:30 +1000
committerMaxime Coste <mawww@kakoune.org>2024-06-07 18:59:30 +1000
commit1bdae3f9c4e554c62100560d48957d42f5ae17e0 (patch)
treefc82d30be7e0c5fa45ac01dc361280cc2fcb460f /src/main.cc
parent688e87d6689aac60423c20195005ef12858787d1 (diff)
Also check shell parameters for kak_* references
This makes it easier to pass shell fragments as arguments so that %sh{ eval "$@" } just works even if arguments refer to Kakoune's vars.
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index 5b316eaa..0c63403b 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -45,6 +45,9 @@ struct {
unsigned int version;
StringView notes;
} constexpr version_notes[] = { {
+ 0,
+ "» kak_* appearing in shell arguments will be added to the environment\n"
+ }, {
20240518,
"» Fix tests failing on some platforms\n"
}, {