use ui.menu instead of ui.statusline for command completion menu theme

pull/2445/head
Christoph Horn 3 years ago committed by Blaž Hrastnik
parent 776686ab24
commit 82fb217b6a

@ -340,7 +340,7 @@ impl Prompt {
pub fn render_prompt(&self, area: Rect, surface: &mut Surface, cx: &mut Context) { pub fn render_prompt(&self, area: Rect, surface: &mut Surface, cx: &mut Context) {
let theme = &cx.editor.theme; let theme = &cx.editor.theme;
let prompt_color = theme.get("ui.text"); let prompt_color = theme.get("ui.text");
let completion_color = theme.get("ui.statusline"); let completion_color = theme.get("ui.menu");
let selected_color = theme.get("ui.menu.selected"); let selected_color = theme.get("ui.menu.selected");
// completion // completion
@ -368,7 +368,7 @@ impl Prompt {
if !self.completion.is_empty() { if !self.completion.is_empty() {
let area = completion_area; let area = completion_area;
let background = theme.get("ui.statusline"); let background = theme.get("ui.menu");
let items = height as usize * cols as usize; let items = height as usize * cols as usize;

Loading…
Cancel
Save