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

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

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

Set highlight namespace for a window. This will use highlights defined in this namespace, but fall back to global highlights (ns=0) when missing. This takes precedence over the 'winhighlight' option. Parameters: ~ {ns_id} the namespace to use

Parameters

denops: Denops
window: unknown
ns_id: unknown

Returns

Promise<unknown>