summaryrefslogtreecommitdiffstats
path: root/src/mode.rs
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2023-03-24 21:55:55 +0100
committerqkzk <qu3nt1n@gmail.com>2023-03-24 21:55:55 +0100
commitf685e8f639ed3aae29652c089ba9467721e141bb (patch)
tree15d6c85ae611ad0c0da10991045a4c51112b59a4 /src/mode.rs
parent921c009721bbdd34ff8c9f8840d3282c9fe96970 (diff)
refactor mode & event_exec
Diffstat (limited to 'src/mode.rs')
-rw-r--r--src/mode.rs4
1 files changed, 2 insertions, 2 deletions
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 :")
}