From f685e8f639ed3aae29652c089ba9467721e141bb Mon Sep 17 00:00:00 2001 From: qkzk Date: Fri, 24 Mar 2023 21:55:55 +0100 Subject: refactor mode & event_exec --- src/mode.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mode.rs') diff --git a/src/mode.rs b/src/mode.rs index 8bbe319..abd485a 100644 --- a/src/mode.rs +++ b/src/mode.rs @@ -76,7 +76,7 @@ pub enum InputSimple { /// Filter by extension, name, directory or no filter Filter, /// Set a new neovim RPC address - SetNvimAddress, + SetNvimAddr, /// Input a password (chars a replaced by *) Password(PasswordKind, BlockDeviceAction, PasswordUsage), } @@ -140,7 +140,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::SetNvimAddr) => write!(f, "Neovim: "), Mode::InputSimple(InputSimple::Sort) => { write!(f, "Sort: Kind Name Modif Size Ext Rev :") } -- cgit v1.2.3