Skip to main content
Module

x/ddc_vim/deps.ts>fn.pyxeval

Dark deno-powered completion framework for neovim/Vim
Latest
function fn.pyxeval
import { fn } from "https://deno.land/x/ddc_vim@v4.3.1/deps.ts";
const { pyxeval } = fn;

Evaluate Python expression {expr} and return its result converted to Vim data structures. Uses Python 2 or 3, see python_x and 'pyxversion'. See also: pyeval(), py3eval()

Can also be used as a method:

GetExpr()->pyxeval()

only available when compiled with the +python or the +python3 feature

Parameters

denops: Denops
expr: unknown

Returns

Promise<unknown>