Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

nx.hl

nx.hl.get(ns, opts)

No documentation comment in the prelude.

Defined in api.lua.

nx.hl.exists(name)

nx.hl.exists(name): is the highlight group name defined? Returns a native boolean (the rest of nx.* is boolean, not vim’s 1/0). Backed by the same nx._hl_defs registry nvim_get_hl reads (concrete groups and links both count).

Defined in api.lua.