summaryrefslogtreecommitdiff
path: root/src/insert_completer.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-07-11 00:27:04 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-07-11 00:27:43 +0100
commita32b49acd12538c27bf4f9abb8acd133e8cf2ee8 (patch)
treed1990535a90aa77fe6754f777e5f1c1c261e0ca8 /src/insert_completer.cc
parent42611aef1e84b7dc13735021b8d0b68fedb86d60 (diff)
Rename ColorPair to Face and ColorRegistry to FaceRegistry
Face also stores the attributes
Diffstat (limited to 'src/insert_completer.cc')
-rw-r--r--src/insert_completer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/insert_completer.cc b/src/insert_completer.cc
index 2acc5447..1f17e888 100644
--- a/src/insert_completer.cc
+++ b/src/insert_completer.cc
@@ -2,10 +2,10 @@
#include "buffer_manager.hh"
#include "buffer_utils.hh"
-#include "color_registry.hh"
#include "context.hh"
#include "debug.hh"
#include "display_buffer.hh"
+#include "face_registry.hh"
#include "file.hh"
#include "user_interface.hh"
#include "window.hh"
@@ -314,8 +314,8 @@ void InsertCompleter::menu_show()
menu_entries.push_back(expand_tabs(candidate, tabstop, column));
m_context.ui().menu_show(menu_entries, menu_pos,
- get_color("MenuForeground"),
- get_color("MenuBackground"),
+ get_face("MenuForeground"),
+ get_face("MenuBackground"),
MenuStyle::Inline);
m_context.ui().menu_select(m_current_candidate);
}