Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddu_vim/deps.ts>vars.vim

Dark deno-powered UI framework for neovim/Vim
Go to Latest
variable vars.vim
import { vars } from "https://deno.land/x/ddu_vim@v4.0.0/deps.ts";
const { vim } = vars;

Vim variables (vim or v)

import type { Denops } from "https://deno.land/x/denops_std@v4.0.0/mod.ts";
import { vim } from "https://deno.land/x/denops_std@v4.0.0/variable/mod.ts";

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

  // Get vim variable
  console.log(await vim.get(denops, "version"));
}

type

Getter & Setter