import { nvim_command } from "https://deno.land/x/denops_std@v6.3.0/function/nvim/mod.ts";
Executes an Ex command.
On execution error: fails with VimL error, updates v:errmsg.
Prefer using nvim_cmd()
or nvim_exec2()
over this. To evaluate
multiple lines of Vim script or an Ex command directly, use
nvim_exec2()
. To construct an Ex command using a structured format and
then execute it, use nvim_cmd()
. To modify an Ex command before
evaluating it, use nvim_parse_cmd()
in conjunction with nvim_cmd()
.
Parameters:
- {command} Ex command string
Parameters
denops: Denops