Skip to main content
Module

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

📚 Standard module for denops.vim
Go to Latest
function nvim_set_hl_ns_fast
import { nvim_set_hl_ns_fast } from "https://deno.land/x/denops_std@v6.4.0/function/nvim/mod.ts";

Set active namespace for highlights defined with nvim_set_hl() while redrawing.

This function meant to be called while redrawing, primarily from nvim_set_decoration_provider() on_win and on_line callbacks, which are allowed to change the namespace during a redraw cycle.

Attributes: api-fast

Parameters:

  • {ns_id} the namespace to activate

Parameters

denops: Denops
ns_id: unknown

Returns

Promise<unknown>