summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-09-09 19:38:12 +1000
committerMaxime Coste <mawww@kakoune.org>2020-09-09 21:00:30 +1000
commitec3d7c31040afaee65afde15832d9b0ed6b2224d (patch)
tree3deb13723ff798c114a67315755fa2f42b155e95 /src/main.cc
parent6f260c2ab2f118e7eaa3a9b8334ee63dad27bf2c (diff)
Add support for removing from options
`set -remove ...` will remove from the current option value, substracting from int, removing elements from vectors and maps.
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 e822daa7..af3d68ba 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -44,6 +44,9 @@ struct {
unsigned int version;
StringView notes;
} constexpr version_notes[] = { {
+ 0,
+ "» {+u}set-option -remove{} support\n"
+ }, {
20200901,
"» daemon mode does not fork anymore\n"
}, {