Skip to main content
Module

x/denops_std/function/mod.ts>setwinvar

📚 Standard module for denops.vim
Go to Latest
function setwinvar
import { setwinvar } from "https://deno.land/x/denops_std@v4.1.4/function/mod.ts";

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>