mirror of https://github.com/Wilfred/difftastic/
Ignore indentation changes on multiline comments
parent
a711d1e424
commit
04214ef1ef
@ -1,8 +0,0 @@
|
||||
;; Unchanged comment.
|
||||
(f1)
|
||||
|
||||
;; Changing a comment word.
|
||||
(f2)
|
||||
|
||||
;; Completely novel text.
|
||||
(f3)
|
||||
@ -0,0 +1,12 @@
|
||||
// Unchanged comment.
|
||||
f1();
|
||||
|
||||
// Changing a comment word.
|
||||
f2();
|
||||
|
||||
// A single comment about something.
|
||||
f3();
|
||||
|
||||
/* A multiline comment
|
||||
* whose indentation changes.
|
||||
*/
|
||||
@ -1,8 +0,0 @@
|
||||
;; Unchanged comment.
|
||||
(f1)
|
||||
|
||||
;; Changing a single word.
|
||||
(f2)
|
||||
|
||||
;; Changing virtually everything written in the comment.
|
||||
(f3)
|
||||
@ -0,0 +1,14 @@
|
||||
// Unchanged comment.
|
||||
f1();
|
||||
|
||||
// Changing a single word.
|
||||
f2();
|
||||
|
||||
// A completely different sentence.
|
||||
f3();
|
||||
|
||||
if true {
|
||||
/* A multiline comment
|
||||
* whose indentation changes.
|
||||
*/
|
||||
}
|
||||
Loading…
Reference in New Issue