diff options
author | qkzk <qu3nt1n@gmail.com> | 2023-02-28 21:18:16 +0100 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2023-02-28 21:18:16 +0100 |
commit | 845df5a773f56f2770e8d57faa80755436835afd (patch) | |
tree | 1cb9fd9d72ec332dc9dd9fce0625c07c895b0463 /src/mode.rs | |
parent | 5e9642bad882d9e4633575e653f322b262e09e14 (diff) |
setup nvim rpc address manually
Diffstat (limited to 'src/mode.rs')
-rw-r--r-- | src/mode.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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 :") } |