summaryrefslogtreecommitdiffstats
path: root/src/mode.rs
diff options
context:
space:
mode:
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 :")
}