Skip to content

Commit 95c57e0

Browse files
committed
fix(dispatch): dispatch help toggle when its not shown
fixes #1411
1 parent c037c7a commit 95c57e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/actions/dispatch.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ local function handle_tree_actions(action)
102102
end
103103

104104
function M.dispatch(action)
105-
if view.is_help_ui() then
105+
if view.is_help_ui() or action == "toggle_help" then
106106
handle_action_on_help_ui(action)
107107
elseif action:match "live" ~= nil then
108108
handle_filter_actions(action)

0 commit comments

Comments
 (0)