import { tabpages } from "https://deno.land/x/denops_std@v6.4.0/variable/mod.ts";
Tabpage local variables (tabpages
or t
)
import type { Denops } from "https://deno.land/x/denops_std@v6.4.0/mod.ts";
import { tabpages } from "https://deno.land/x/denops_std@v6.4.0/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");
}