summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-01-16 20:52:01 +1100
committerMaxime Coste <mawww@kakoune.org>2020-01-16 20:52:20 +1100
commit9ca479ed40ceea29eb3b7949fb776e92e5f6e8dc (patch)
tree728747be89c6e602cede3be50c71dc1702de6a97
parent5f126ee2675a208b7dc37ead6aec881b998fecc2 (diff)
Kakoune v2020.10.16
-rw-r--r--doc/pages/changelog.asciidoc5
-rw-r--r--doc/pages/hooks.asciidoc5
-rw-r--r--src/main.cc3
3 files changed, 10 insertions, 3 deletions
diff --git a/doc/pages/changelog.asciidoc b/doc/pages/changelog.asciidoc
index 25a45aa4..615982dd 100644
--- a/doc/pages/changelog.asciidoc
+++ b/doc/pages/changelog.asciidoc
@@ -3,11 +3,14 @@
This changelog contains major and/or breaking changes to Kakoune between
released versions.
-== Development version
+== Kakoune v2020.01.16
* Expose history tree through `$kak_history` and
`$kak_uncommitted_modifications`
+* `InsertCompletionHide` parameter is the list of inserted
+ ranges
+
== Kakoune 2019.12.10
* Arrow keys and `<home>`, `<end>` are not normal mode commands
diff --git a/doc/pages/hooks.asciidoc b/doc/pages/hooks.asciidoc
index 7597cb1c..2d9f0c08 100644
--- a/doc/pages/hooks.asciidoc
+++ b/doc/pages/hooks.asciidoc
@@ -164,8 +164,9 @@ name. Hooks with no description will always use an empty string.
Triggered when the insert completion menu gets displayed
*InsertCompletionHide* `completion`::
- Triggered when the insert completion menu gets hidden, the inserted
- completion text is passed as filtering text.
+ Triggered when the insert completion menu gets hidden, the list of
+ inserted completions text ranges is passed as filtering text, in the
+ same format the `select` command expects.
*RawKey* `key`::
Triggered whenever a key is pressed by the user, regardless of what mode
diff --git a/src/main.cc b/src/main.cc
index e3951e2e..dabbb7b2 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -44,6 +44,9 @@ struct {
unsigned int version;
StringView notes;
} constexpr version_notes[] = { {
+ 20200116,
+ "» {+u}InsertCompletionHide{} parameter is now the list of inserted ranges"
+ }, {
20191210,
"» {+u}ModeChange{} parameter has changed to contain push/pop "
"{+ui}Mode{+u}Begin{}/{+ui}Mode{+u}End{} hooks were removed\n"