Skip to content

Commit 11659aa

Browse files
authored
fix: help after refactoring view (#647)
1 parent 2361c1a commit 11659aa

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
@@ -355,9 +355,9 @@ local M = {}
355355
function M.draw_help()
356356
local help_lines = {'HELP'}
357357
local help_hl = {{'NvimTreeRootFolder', 0, 0, #help_lines[1]}}
358-
local bindings = view.View.bindings
358+
local mappings = view.View.mappings
359359
local processed = {}
360-
for _, b in pairs(bindings) do
360+
for _, b in pairs(mappings) do
361361
local cb = b.cb
362362
local key = b.key
363363
local name

0 commit comments

Comments
 (0)