Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/nvim/mod.ts>nvim__set_hl_ns

๐Ÿ“š Standard module for denops.vim
Go to Latest
function nvim__set_hl_ns
import { nvim__set_hl_ns } from "https://deno.land/x/denops_std@v3.10.1/function/nvim/mod.ts";

Set active namespace for highlights. NB: this function can be called from async contexts, but the semantics are not yet well-defined. To start with |nvim_set_decoration_provider| on_win and on_line callbacks are explicitly allowed to change the namespace during a redraw cycle. Attributes: ~ {fast} Parameters: ~ {ns_id} the namespace to activate

Parameters

denops: Denops
ns_id: unknown

Returns

Promise<unknown>