From 845df5a773f56f2770e8d57faa80755436835afd Mon Sep 17 00:00:00 2001 From: qkzk Date: Tue, 28 Feb 2023 21:18:16 +0100 Subject: setup nvim rpc address manually --- src/mode.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mode.rs') diff --git a/src/mode.rs b/src/mode.rs index cb1ec30..8bcf3ea 100644 --- a/src/mode.rs +++ b/src/mode.rs @@ -74,6 +74,8 @@ pub enum InputSimple { Sort, /// Filter by extension, name, directory or no filter Filter, + /// Set a new neovim RPC address + SetNvimAddress, /// Input a password (chars a replaced by *) Password(PasswordKind, EncryptedAction), } @@ -130,6 +132,7 @@ impl fmt::Display for Mode { Mode::InputSimple(InputSimple::Newfile) => write!(f, "Newfile: "), Mode::InputSimple(InputSimple::Newdir) => write!(f, "Newdir: "), Mode::InputSimple(InputSimple::RegexMatch) => write!(f, "Regex: "), + Mode::InputSimple(InputSimple::SetNvimAddress) => write!(f, "Neovim: "), Mode::InputSimple(InputSimple::Sort) => { write!(f, "Sort: Kind Name Modif Size Ext Rev :") } -- cgit v1.2.3