From d4b85ce18d8a9bb535eaeae9e2c7421ef81c81e9 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 9 Feb 2021 15:40:30 +0900 Subject: popup: wip work on completion popups --- helix-view/src/theme.rs | 1 + helix-view/src/view.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'helix-view') diff --git a/helix-view/src/theme.rs b/helix-view/src/theme.rs index 809ec05d..ad15f6f2 100644 --- a/helix-view/src/theme.rs +++ b/helix-view/src/theme.rs @@ -157,6 +157,7 @@ impl Default for Theme { "ui.background" => Style::default().bg(Color::Rgb(59, 34, 76)), // midnight "ui.linenr" => Style::default().fg(Color::Rgb(90, 89, 119)), // comet "ui.statusline" => Style::default().bg(Color::Rgb(40, 23, 51)), // revolver + "ui.popup" => Style::default().bg(Color::Rgb(40, 23, 51)), // revolver "warning" => Style::default().fg(Color::Rgb(255, 205, 28)), }; diff --git a/helix-view/src/view.rs b/helix-view/src/view.rs index 24b50d81..02eda72f 100644 --- a/helix-view/src/view.rs +++ b/helix-view/src/view.rs @@ -19,6 +19,7 @@ pub struct View { pub first_line: usize, pub area: Rect, } +// TODO: popups should be a thing on the view with a rect + text impl View { pub fn new(doc: Document) -> Result { -- cgit v1.2.3-70-g09d2