Function exec2

Source
pub fn exec2(src: &str, opts: &ExecOpts) -> Result<Option<String>, Error>
Expand description

Binding to nvim_exec2().

Executes Vimscript (multiline block of Ex commands), like anonymous :source.

Unlike command this function supports heredocs, script-scope (s:), etc.