Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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@v4.1.4/function/nvim/mod.ts";

Set active namespace for highlights 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>