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

x/ddu_vim/deps.ts>fn.setwinvar

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

Like |settabwinvar()| for the current tab page. Examples: :call setwinvar(1, "&list", 0) :call setwinvar(2, "myvar", "foobar") Can also be used as a |method|, the base is passed as the third argument: GetValue()->setwinvar(winnr, name)

Parameters

denops: Denops
winnr: unknown
varname: unknown
val: unknown

Returns

Promise<unknown>