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

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

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

Deactivates buffer-update events on the channel. Attributes: ~ |RPC| only Parameters: ~ {buffer} Buffer handle, or 0 for current buffer Return: ~ False if detach failed (because the buffer isn't loaded); otherwise True. See also: ~ |nvim_buf_attach()| |api-lua-detach| for detaching Lua callbacks

Parameters

denops: Denops
buffer: unknown

Returns

Promise<unknown>