Skip to content

[bug] prev_git_item and next_git_item are reversed #971

Closed
@alex-courtis

Description

@alex-courtis

OS
Arch Linux 5.16.8-arch1-1

Neovim version

NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Nvim-tree version
0f7da14

47ccc29 introduced this issue

Describe the bug
next_git_item takes you to the previous and vice versa.

To Reproduce
empty nvim configuration, no plugins othen than nvim-tree and chriskempson/base16-vim

Open nvim-tree in a directory with multiple dirty files.
[c takes you to the next, ]c takes you to the previous.

asciicast

Expected behavior
Behaviour should be switched.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions