import { format } from "https://deno.land/x/denops_std@v3.10.1/bufname/bufname.ts";
Format a Bufname
instance and return a safe string as Vim's buffer name.
It throws errors when scheme
contains unusable characters (non-alphabet characters).
All unusable characters ("<>|?*) are replaced with percent-encoded characters.
In addition to the above, all semicolons (;) and sharps (#) in path
are replaced with
percent-encoded characters. It's required to distinguish params
and or fragment
.
Parameters
unnamed 0: Bufname