import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { prompt_getprompt } = fn;
Returns the effective prompt text for buffer {buf}. {buf} can
be a buffer name or number. See prompt-buffer
.
If the buffer doesn't exist or isn't a prompt buffer, an empty string is returned.
Can also be used as a method
:
GetBuffer()->prompt_getprompt()
only available when compiled with the +channel
feature
Parameters
denops: Denops