pub fn exec_vim_cmd(
cmd: impl AsRef<str> + Debug + Copy,
args: Option<&[impl AsRef<str> + Debug]>,
) -> Result<Option<String>, Error>Expand description
Execute an ex command with optional arguments.
Wraps nvim_oxi::api::cmd, reporting failures through crate::notify::error.
ยงErrors
Errors from nvim_oxi::api::cmd are propagated after logging via crate::notify::error.