diff options
-rw-r--r-- | config/git/attributes | 5 | ||||
-rw-r--r-- | git/global-gitconfig | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/config/git/attributes b/config/git/attributes index 01e819b..49b521c 100644 --- a/config/git/attributes +++ b/config/git/attributes @@ -1 +1,4 @@ -*.org diff=org
\ No newline at end of file +*.org diff=org +*.lisp diff=lisp +*.el diff=lisp +*.scm diff=lisp
\ No newline at end of file diff --git a/git/global-gitconfig b/git/global-gitconfig index 0131ef1..460a2b9 100644 --- a/git/global-gitconfig +++ b/git/global-gitconfig @@ -11,6 +11,8 @@ textconv = pdfinfo [diff "org"] xfuncname = "^(\\*+ +.*)$" +[diff "lisp"] + xfuncname = "^[ \t]*(((;+ )|\\((cl-|el-patch-)?def(un|var|macro|method|custom|ine)).*)$" [difftool "image_diff"] cmd = compare $REMOTE $LOCAL png:- | montage -font Liberation-Sans -tile 3x -geometry 400x -label "reference" $LOCAL -label "diff" - -label "current--%f" $REMOTE x: [diff] |