Skip to content

GitConflictDetected not triggered by git alias #123

Description

@SinixND

Sorry for being brief:

If neovim is started via a git alias fix = "!${EDITOR} -p $(git diff --name-only --diff-filter=U)" sometimes (I cannot tell when exactly) the GitConflictDetected autocommand is not triggered and therefore the plugin does not work. This happened to me while I was doing a git rebase.

It works if I run the command manually nvim -p $(git diff --name-only --diff-filter=U) but not via git fix.

I tried https://github.com/tronikelis/conflict-marker.nvim which does work with the alias.

Does someone have any idea how to solve this? I really like this plugin.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions