import { nvim_buf_detach } from "https://deno.land/x/denops_std@v6.3.0/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