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

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

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

Sets the full file name for a buffer Parameters: ~ {buffer} Buffer handle, or 0 for current buffer {name} Buffer name

Parameters

denops: Denops
buffer: unknown
name: unknown

Returns

Promise<unknown>