on master help sign in
use ui.menu instead of ui.statusline for command completion menu theme
commit82fb217b6a99548065899b8405198eb08442803a authorChristoph Horn <christoph-horn@hotmail.de> dateWed 4 May 2022, 11:13 (4 years ago) parent776686a
1 file changed+2−2
helix-term/src/ui/prompt.rs+2−2
helix-term/src/ui/prompt.rs+2−2
@@ -340,7 +340,7 @@ impl Prompt {
340340 pub fn render_prompt(&self, area: Rect, surface: &mut Surface, cx: &mut Context) {
341341 let theme = &cx.editor.theme;
342342 let prompt_color = theme.get("ui.text");
343− let completion_color = theme.get("ui.statusline");
343+ let completion_color = theme.get("ui.menu");
344344 let selected_color = theme.get("ui.menu.selected");
345345 // completion
346346
@@ -368,7 +368,7 @@ impl Prompt {
368368
369369 if !self.completion.is_empty() {
370370 let area = completion_area;
371− let background = theme.get("ui.statusline");
371+ let background = theme.get("ui.menu");
372372
373373 let items = height as usize * cols as usize;
374374