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

x/ddu_vim/deps.ts>fn.getwinvar

Dark deno-powered UI framework for neovim/Vim8
Go to Latest
function fn.getwinvar
import { fn } from "https://deno.land/x/ddu_vim@v1.13.0/deps.ts";
const { getwinvar } = fn;

Like |gettabwinvar()| for the current tabpage. Examples: :let list_is_on = getwinvar(2, '&list') :echo "myvar = " . getwinvar(1, 'myvar') Can also be used as a |method|: GetWinnr()->getwinvar(varname)

Parameters

denops: Denops
winnr: unknown
varname: unknown
optional
def: unknown

Returns

Promise<unknown>