import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { prompt_setprompt } = fn;
Set prompt for buffer {buf} to {text}. You most likely want {text} to end in a space. The result is only visible if {buf} has 'buftype' set to "prompt". Example:
call prompt_setprompt(bufnr(), 'command: ')
Can also be used as a method
:
GetBuffer()->prompt_setprompt('command: ')
only available when compiled with the +channel
feature