Skip to main content
Module

x/dpp_vim/deps.ts>fn.settabvar

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

Set tab-local variable {varname} to {val} in tab page {tabnr}. t:var The {varname} argument is a string. 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<void>