Skip to content

Commit 95c331c

Browse files
committed
fix: revert git item movement direction
fixes #971
1 parent 0f7da14 commit 95c331c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/actions/movements.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ end
107107

108108
function M.find_git_item(where)
109109
local icon_state = _icons.get_config()
110-
local flags = where == 'next' and 'b' or ''
110+
local flags = where == 'prev' and 'b' or ''
111111
local icons = table.concat(vim.tbl_values(icon_state.icons.git_icons), '\\|')
112112
return function()
113113
return icon_state.show_git_icon and vim.fn.search(icons, flags)

0 commit comments

Comments
 (0)