import { vars } from "https://deno.land/x/ddc_vim@v4.3.0/deps.ts";
const { tabpages } = vars;
Tabpage local variables (tabpages
or t
)
import { Denops } from "../mod.ts";
import { tabpages } from "../variable/mod.ts";
export async function main(denops: Denops): Promise<void> {
// Set tabpage variable
await tabpages.set(denops, "hello", "world");
// Get tabpage variable
console.log(await tabpages.get(denops, "hello"));
// Remove tabpage variable
await tabpages.remove(denops, "hello");
}