Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/nvim/mod.ts>nvim_buf_set_var

๐Ÿ“š Standard module for denops.vim
Go to Latest
function nvim_buf_set_var
import { nvim_buf_set_var } from "https://deno.land/x/denops_std@v3.7.0/function/nvim/mod.ts";

Sets a buffer-scoped (b:) variable Parameters: ~ {buffer} Buffer handle, or 0 for current buffer {name} Variable name {value} Variable value

Parameters

denops: Denops
buffer: unknown
name: unknown
value: unknown

Returns

Promise<unknown>