github Wilfred/difftastic 0.41.0

latest releases: 0.61.0, 0.60.0, 0.59.0...
22 months ago

Difftastic is a structural diff tool that understands syntax. See the manual to get started, and the changelog for historical changes.

Parsing

Difftastic now supports embedded languages in HTML and Makefiles. This enables difftastic to parse embedded CSS or JavaScript in HTML, or Bash in Makefiles, leading to better diffs in those files. (Contributed by @sesse, thanks!)

Tab replacement is now done after parsing. If tab characters are syntactically important, they are now handled correctly. This was particularly an issue in Makefiles, where indentation must be tabs.

Diffing

Improved word highlighting in changed comments. Whitespace is never underlined and the characters - and _ are now considered word constituents.

Display

--display=inline now respects --tab-width.

Fixed an issue with unwanted underlines with textual diffing when DFT_GRAPH_LIMIT is reached.

Improved syntax highlighting for predefined types in TypeScript.

Don't miss a new difftastic release

NewReleases is sending notifications on new releases.