Skip to main content
Module

x/ddc_vim/deps.ts>fn.settabvar

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.settabvar
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { settabvar } = fn;

Set tab-local variable {varname} to {val} in tab page {tabnr}. |t:var| Note that autocommands are blocked, side effects may not be triggered, e.g. when setting 'filetype'. Note that the variable name without "t:" must be used. Tabs are numbered starting with one. This function is not available in the |sandbox|. Can also be used as a |method|, the base is passed as the third argument: GetValue()->settabvar(tab, name)

Parameters

denops: Denops
tabnr: unknown
varname: unknown
val: unknown

Returns

Promise<unknown>