summaryrefslogtreecommitdiff
path: root/src/insert_completer.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2019-04-15 17:42:58 +0200
committerMaxime Coste <mawww@kakoune.org>2019-04-17 08:38:52 +0200
commit9118a18d5d72ac1814faf9dcba0635560800eb5f (patch)
tree8311fdc5543da08f4d321f7f20025e3b95ddee54 /src/insert_completer.hh
parent02fc42a12a4025352b2da0f99728d5902a9c8448 (diff)
Change completions option docstring element to be an arbitrary command
We can have the previous behaviour by just passing the docstring to `info -placement menu`.
Diffstat (limited to 'src/insert_completer.hh')
-rw-r--r--src/insert_completer.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insert_completer.hh b/src/insert_completer.hh
index 305435a9..1270d732 100644
--- a/src/insert_completer.hh
+++ b/src/insert_completer.hh
@@ -58,7 +58,7 @@ struct InsertCompletion
struct Candidate
{
String completion;
- String docstring;
+ String on_select;
DisplayLine menu_entry;
bool operator==(const Candidate& other) const { return completion == other.completion; }