import { nvim_create_buf } from "https://deno.land/x/denops_std@v6.5.0/function/nvim/mod.ts";
Creates a new, empty, unnamed buffer.
Parameters:
- {listed} Sets 'buflisted'
- {scratch} Creates a "throwaway"
scratch-buffer
for temporary work (always 'nomodified'). Also sets 'nomodeline' on the buffer.
Return: Buffer handle, or 0 on error
See also:
- buf_open_scratch