fix: help after refactoring view (#647)
This commit is contained in:
@@ -355,9 +355,9 @@ local M = {}
|
|||||||
function M.draw_help()
|
function M.draw_help()
|
||||||
local help_lines = {'HELP'}
|
local help_lines = {'HELP'}
|
||||||
local help_hl = {{'NvimTreeRootFolder', 0, 0, #help_lines[1]}}
|
local help_hl = {{'NvimTreeRootFolder', 0, 0, #help_lines[1]}}
|
||||||
local bindings = view.View.bindings
|
local mappings = view.View.mappings
|
||||||
local processed = {}
|
local processed = {}
|
||||||
for _, b in pairs(bindings) do
|
for _, b in pairs(mappings) do
|
||||||
local cb = b.cb
|
local cb = b.cb
|
||||||
local key = b.key
|
local key = b.key
|
||||||
local name
|
local name
|
||||||
|
|||||||
Reference in New Issue
Block a user