pothi.love/0495-Manifest_navigator

11 lines
635 B
Plaintext
Raw Normal View History

Manifest_navigator = {
-- state for the command palette
display = false, -- display navigator on screen
for_delete = false, -- if true, delete selected definition from navigator
reload = false, -- if true, refresh manifest to display on next keystroke
num_lines = nil, -- number of screen lines of space to devote to the navigator
index = 1, -- where the cursor is right now. Modified on arrow keys, reset on any non-arrow keystroke.
filter = '', -- prefix being typed into the command palette
candidates = Manifest, -- list of candidates matching filter
bottom_y = nil, -- cache a tiny bit of state in display logic
}