import { nvim_create_namespace } from "https://deno.land/x/denops_std@v4.1.4/function/nvim/mod.ts";
Creates a new or gets an existing one.
Namespaces are used for buffer highlights and virtual text, see
|nvim_buf_add_highlight()| and |nvim_buf_set_extmark()|.
Namespaces can be named or anonymous. If name
matches an existing
namespace, the associated id is returned. If name
is an empty string a
new, anonymous namespace is created.
Parameters: ~
{name} Namespace name or empty string
Return: ~
Namespace id
Parameters
denops: Denops