Skip to content

Commit

Permalink
use ui.menu instead of ui.statusline for command completion menu theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrHorn authored and archseer committed May 20, 2022
1 parent 776686a commit 82fb217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helix-term/src/ui/prompt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 82fb217

Please sign in to comment.