aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-02-09 06:40:30 +0000
committerBlaž Hrastnik2021-02-09 06:40:47 +0000
commitd4b85ce18d8a9bb535eaeae9e2c7421ef81c81e9 (patch)
treef68c8fc1d4996f861af2c7966ac8c49dba4aa174 /helix-view/src
parent755632f23113ccff66390de1e2c3476a51886b00 (diff)
popup: wip work on completion popups
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/theme.rs1
-rw-r--r--helix-view/src/view.rs1
2 files changed, 2 insertions, 0 deletions
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<Self, Error> {