akinsho / git-conflict.nvim

A plugin to visualise and resolve merge conflicts in neovim
1k stars 35 forks source link

Conflict markers not shown until I restart vim #36

Open uloco opened 1 year ago

uloco commented 1 year ago

When I am in a running neovim instance and a git conflict appears on a buffer that is already open, the conflict markers are shown but not highlighted. Even after closing the buffer and reopening it does not work. I tried the :GitConflictRefresh command also, does not work. I have to close vim completely and restart, then it works.

I am on the latest tag version.

Mo0rBy commented 2 months ago

I have a similar problem, but mine is only fixed when I execute GitConflictRefresh.

Here is a video for some better context:

https://github.com/user-attachments/assets/cf7d83bf-a7c5-4499-858a-26b1c8f474db