Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>vars.windows

Dark deno-powered completion framework for neovim/Vim8
Very Popular
Go to Latest
variable vars.windows
import { vars } from "https://deno.land/x/ddc_vim@v3.9.0/deps.ts";
const { windows } = vars;

Window local variables (windows or w)

import { Denops } from "../mod.ts";
import { windows } from "../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