import { setbufline } from "https://deno.land/x/denops_std@v3.10.1/function/mod.ts";
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.