Skip to main content
Module

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

📚 Standard module for denops.vim
Latest
function nvim_set_current_buf
import { nvim_set_current_buf } from "https://deno.land/x/denops_std@v6.5.0/function/nvim/mod.ts";

Sets the current buffer.

Attributes: not allowed when textlock is active

Parameters:

  • {buffer} Buffer handle

Parameters

denops: Denops
buffer: unknown

Returns

Promise<unknown>