From bf773db45171b59a758b7dabf9f10ffb8852dcf0 Mon Sep 17 00:00:00 2001 From: Gokul Soumya Date: Fri, 5 Nov 2021 00:03:31 +0530 Subject: Show infobox with register contents --- helix-view/src/editor.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'helix-view/src/editor.rs') diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 27e6f137..43ea8d15 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -2,6 +2,7 @@ use crate::{ clipboard::{get_clipboard_provider, ClipboardProvider}, document::{Mode, SCRATCH_BUFFER_NAME}, graphics::{CursorKind, Rect}, + info::Info, input::KeyEvent, theme::{self, Theme}, tree::{self, Tree}, @@ -243,6 +244,7 @@ pub struct Editor { pub theme_loader: Arc, pub status_msg: Option<(String, Severity)>, + pub autoinfo: Option, pub config: Config, @@ -286,6 +288,7 @@ impl Editor { registers: Registers::default(), clipboard_provider: get_clipboard_provider(), status_msg: None, + autoinfo: None, idle_timer: Box::pin(sleep(config.idle_timeout)), last_motion: None, config, -- cgit v1.2.3-70-g09d2