Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ddc_vim/deps.ts>fn.setwinvar

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.setwinvar
import { fn } from "https://deno.land/x/ddc_vim@v4.0.5/deps.ts";
const { setwinvar } = fn;

Like settabwinvar() for the current tab page. Examples:

:call setwinvar(1, "&list", 0)
:call setwinvar(2, "myvar", "foobar")

Can also be used as a method, the base is passed as the third argument:

GetValue()->setwinvar(winnr, name)

Parameters

denops: Denops
winnr: unknown
varname: unknown
val: unknown

Returns

Promise<void>