import { fn } from "https://deno.land/x/ddu_vim@v1.13.0/deps.ts";
const { setbufline } = fn;
Set line {lnum} to {text} in buffer {expr}. To insert lines use |append()|.
For the use of {expr}, see |bufname()| above.
{lnum} is used like with |setline()|. This works like |setline()| for the specified buffer. On success 0 is returned, on failure 1 is returned.
If {expr} is not a valid buffer or {lnum} is not valid, an error message is given.