import { setwinvar } from "https://deno.land/x/denops_std@v6.1.0/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)