Skip to main content
Module

x/dpp_vim/deps.ts>vars.windows

Dark powered plugin manager for Vim/neovim
Latest
variable vars.windows
import { vars } from "https://deno.land/x/dpp_vim@v0.2.0/deps.ts";
const { windows } = vars;

Window local variables (windows or w)

import type { Denops } from "https://deno.land/x/denops_std@v0.2.0/mod.ts";
import { windows } from "https://deno.land/x/denops_std@v0.2.0/variable/mod.ts";

export async function main(denops: Denops): Promise<void> {
  // Set window variable
  await windows.set(denops, "hello", "world");

  // Get window variable
  console.log(await windows.get(denops, "hello"));

  // Remove window variable
  await windows.remove(denops, "hello");
}

type

Getter & Setter & Remover