import { fn } from "https://deno.land/x/ddc_vim@v4.1.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)