Skip to content

Commit 0f96e32

Browse files
committed
fix(actions): dispatching filter should not match for "live" keyword
fixes #1420
1 parent 6a49a03 commit 0f96e32

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
@@ -113,7 +113,7 @@ end
113113
function M.dispatch(action)
114114
if view.is_help_ui() or action == "toggle_help" then
115115
handle_action_on_help_ui(action)
116-
elseif action:match "live" ~= nil then
116+
elseif action == "live_filter" or action == "clear_live_filter" then
117117
handle_filter_actions(action)
118118
else
119119
handle_tree_actions(action)

0 commit comments

Comments
 (0)