Skip to content

Commit c73186c

Browse files
qqshfoxjim-fx
authored andcommitted
fix: help after refactoring view (nvim-tree#647)
1 parent 0236b53 commit c73186c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/nvim-tree/renderer/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,9 @@ local M = {}
356356
function M.draw_help()
357357
local help_lines = {'HELP'}
358358
local help_hl = {{'NvimTreeRootFolder', 0, 0, #help_lines[1]}}
359-
local bindings = view.View.bindings
359+
local mappings = view.View.mappings
360360
local processed = {}
361-
for _, b in pairs(bindings) do
361+
for _, b in pairs(mappings) do
362362
local cb = b.cb
363363
local key = b.key
364364
local name

0 commit comments

Comments
 (0)