aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Horn2022-05-04 09:13:13 +0000
committerBlaž Hrastnik2022-05-20 01:32:59 +0000
commit82fb217b6a99548065899b8405198eb08442803a (patch)
treedf5bc998943184fcf3baa2b1374419fc098d58bf
parent776686ab2471419b9c9aac8507e8d301f450389a (diff)
use ui.menu instead of ui.statusline for command completion menu theme
-rw-r--r--helix-term/src/ui/prompt.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/ui/prompt.rs b/helix-term/src/ui/prompt.rs
index c3c502e0..a5be33ff 100644
--- a/helix-term/src/ui/prompt.rs
+++ b/helix-term/src/ui/prompt.rs
@@ -340,7 +340,7 @@ impl Prompt {
pub fn render_prompt(&self, area: Rect, surface: &mut Surface, cx: &mut Context) {
let theme = &cx.editor.theme;
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");
// completion
@@ -368,7 +368,7 @@ impl Prompt {
if !self.completion.is_empty() {
let area = completion_area;
- let background = theme.get("ui.statusline");
+ let background = theme.get("ui.menu");
let items = height as usize * cols as usize;