-
Notifications
You must be signed in to change notification settings - Fork 26
Incompatible with fugitive, git-gutter, and git-signify #5
Comments
Related question on Stackoverflow: https://stackoverflow.com/questions/54068308/override-gitattributes-from-command-line |
A problem with Edit: actually, this can help in some way, as it disables the standard |
In theory, assuming
Except that |
I think the better solution might be, instead of opening and writing the ipnb as different to the buffer, you auto-open the equivalent .py etc. That's the desired VCed file anyway in most cases, and prevents accidentally overwriting the ipynb file. |
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 ofPersonally, 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 forgitgutter
, except thatsignfiy
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. theGdiff
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".The text was updated successfully, but these errors were encountered: