zsong / diffy

A sublime plugin to show difference between 2 files. It supports both Sublime 2 and 3.
MIT License
51 stars 6 forks source link

Add option to ignore whitespace #16

Open shortstuffsushi opened 8 years ago

shortstuffsushi commented 8 years ago

Hi there,

I've been enjoying your package in sublime so far, but ran into an issue today where I have a file comparison where indentation was added across the whole file, making the diff effectively useless. I was hoping to find an "Ignore Whitespace" option, but it doesn't seem to exist yet. Would you consider adding this as a config or something along those lines? I looked briefly at doing so myself, but I don't really know Python, and it looks like you're using an external lib to do the diffing anyway? Does that lib accept any sort of configs like that?