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

nx.list.extend(dst, src, start, finish)

nx.list.extend(dst, src, start, finish) [alias vim.list_extend]: append src[start..finish] onto dst.

Defined in stdlib.lua.

nx.list.slice(list, start, finish)

nx.list.slice(list, start, finish) [alias vim.list_slice]: a copy of list[start..finish] (1-based, inclusive; negative indices count from the end, as neovim). A completion plugin caps its menu with vim.list_slice(entries, 1, max_view_entries).

Defined in stdlib.lua.

nx.list.is_list(t)

No documentation comment in the prelude.

Defined in stdlib.lua.