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.ns

nx.ns.create(name)

nvim_create_namespace(name): create-or-get a namespace id by name (an empty / nil name mints a fresh anonymous one each call). Ids are allocated Lua-side, so the call returns synchronously; the server only ever sees the id on a mark.

Defined in api.lua.