diff --git a/src/bridge/mod.rs b/src/bridge/mod.rs index ca61906..e0b38c6 100644 --- a/src/bridge/mod.rs +++ b/src/bridge/mod.rs @@ -109,7 +109,7 @@ pub fn build_neovide_command(channel: u64, num_args: u64, command: &str, event: }; if num_args == 0 { return format!( - "command! -nargs={} -complete=expression {} call rpcnotify({}, 'neovide.{}')", + "command! -nargs={} {} call rpcnotify({}, 'neovide.{}')", nargs, command, channel, event ); } else {