Skip to main content
Module

x/denops_std/function/vim/mod.ts>listener_flush

📚 Standard module for denops.vim
Go to Latest
function listener_flush
import { listener_flush } from "https://deno.land/x/denops_std@v6.4.0/function/vim/mod.ts";

Invoke listener callbacks for buffer {buf}. If there are no pending changes then no callbacks are invoked.

{buf} refers to a buffer name or number. For the accepted values, see bufname(). When {buf} is omitted the current buffer is used.

Can also be used as a method:

GetBuffer()->listener_flush()

Parameters

denops: Denops
optional
buf: unknown

Returns

Promise<void>