summaryrefslogtreecommitdiff
path: root/src/insert_completer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-10-05 01:48:00 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-10-05 01:48:00 +0100
commit69b16d814bc4212376ca267bede0510921beda1e (patch)
tree3aedf3988fcc181d9d46ebd49261c00f4885c0f2 /src/insert_completer.hh
parentc54e6738b911e5de86dfe94b9166df86751aacb1 (diff)
Display word insert completion buffer name in a different color
Diffstat (limited to 'src/insert_completer.hh')
-rw-r--r--src/insert_completer.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/insert_completer.hh b/src/insert_completer.hh
index f55f8077..01a9daba 100644
--- a/src/insert_completer.hh
+++ b/src/insert_completer.hh
@@ -3,6 +3,7 @@
#include "buffer.hh"
#include "option_manager.hh"
+#include "display_buffer.hh"
#include "optional.hh"
@@ -45,7 +46,7 @@ struct InsertCompletion
{
String completion;
String docstring;
- String menu_entry;
+ DisplayLine menu_entry;
bool operator==(const Candidate& other) const { return completion == other.completion; }
bool operator<(const Candidate& other) const { return completion < other.completion; }