Description
This plugin does not play nice with various git-related plugins such as fugitive, gitgutter and signify.
For gitgutter
, bogus signs are shown, based on the output of
git diff --no-color --no-ext-diff -U0 -- <ipynbfile>
Personally, I already use nbdime as a diff tool for notebooks, but its output is (obviously) not valid for jupytext. Probably, the only solution is to create a diff tool based on jupytext that is used in the context of git-gutter
only. This would probably depend on airblade/vim-gitgutter#568 as well.
Alternatively, one would probably want to just disable git-gutter
for notebook files.
For signfiy
, no signs are shown at all (presumably because it can detect that the generated patch is bogus?). In principle, the solution should be the same as for gitgutter
, except that signfiy
appears to be better set up to handle using a custom diff-tool for notebook files. However, that diff-tool would still need to exist.
The fugitive
plugin appears simply inoperative (e.g. the Gdiff
command is "not an editor command"). I'm not sure what it would take to fix this, but it seems like something that should be possible. For now, "inoperative" is a better place to be in than "broken".