import { tabpages } from "https://deno.land/x/denops_std@v6.5.1/variable/variable.ts";
Tabpage local variables (tabpages
or t
)
import type { Entrypoint } from "https://deno.land/x/denops_std@v6.5.1/mod.ts";
import { tabpages } from "https://deno.land/x/denops_std@v6.5.1/variable/mod.ts";
export const main: Entrypoint = async (denops) => {
// 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");
}