gornostal / Modific

Highlight lines changed since the last commit (supports Git, SVN, Bazaar, Mercurial and TFS) / ST2(3) plugin
614 stars 44 forks source link

Add support git for --word-diff format #37

Closed aubergene closed 11 years ago

aubergene commented 11 years ago

Git has a --word-diff option which is really handy for small changes in long lines. The output format is different.

gornostal commented 11 years ago

Hi,

I can add a new config option that will allow you to see a word-diff using Ctrl+Alt+D key combination. Is that what you mean by phrase "add support"?

aubergene commented 11 years ago

That would be great, thanks. Sorry, didn't meant sound demanding.

gornostal commented 11 years ago

I'm not sure this will be very useful because Sublime don't has diff syntax for --word-diff, thus diff is not readable because everything is in one color. Also it will add more confusion in the code. So I decided to not implement this feature. Sorry.