You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently posted a diffunitsyntax plugin which highlights word or character based diff units in diff format.
I tried to check if the plugin works on vim-signify. In vim, it works fine with :SignifyHunkDiff command like this:
But in nvim, it does not:
I found, in sy#util#popup_create(), that the lines are populated and then the &syntax option is set with 'diff' in vim. But in nvim, the order is reversed. When my plugin is triggered, the buffer is still empty. That is why no diff unit is highlighted in nvim.
Hi,
I have recently posted a diffunitsyntax plugin which highlights word or character based diff units in diff format.
I tried to check if the plugin works on vim-signify. In vim, it works fine with
:SignifyHunkDiff
command like this:But in nvim, it does not:
I found, in sy#util#popup_create(), that the lines are populated and then the
&syntax
option is set with'diff'
in vim. But in nvim, the order is reversed. When my plugin is triggered, the buffer is still empty. That is why no diff unit is highlighted in nvim.Could I ask you to change the order like this?
As a side note, my another plugin, diffchar.vim, works fine on vimdiff invoked by
:SignifyDiff
command:The text was updated successfully, but these errors were encountered: