Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/nvim/mod.ts>nvim_eval

๐Ÿ“š Standard module for denops.vim
Go to Latest
function nvim_eval
import { nvim_eval } from "https://deno.land/x/denops_std@v3.9.0/function/nvim/mod.ts";

Evaluates a VimL |expression|. Dictionaries and Lists are recursively expanded. On execution error: fails with VimL error, does not update v:errmsg. Parameters: ~ {expr} VimL expression string Return: ~ Evaluation result or expanded object

Parameters

denops: Denops
expr: unknown

Returns

Promise<unknown>