Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>fn.pyxeval

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.pyxeval
import { fn } from "https://deno.land/x/ddc_vim@v4.1.0/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>