import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { gettabvar } = fn;
Get the value of a tab-local variable {varname} in tab page
{tabnr}. t:var
Tabs are numbered starting with one.
The {varname} argument is a string. When {varname} is empty a
dictionary with all tab-local variables is returned.
Note that the name without "t:" must be used.
When the tab or variable doesn't exist {def} or an empty
string is returned, there is no error message.
Can also be used as a method
:
GetTabnr()->gettabvar(varname)