From 0d427d45aa04a64f9fa37e1e3ac16409f4e202de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Thu, 18 Mar 2021 17:13:07 +0100 Subject: Lisps git diff --- git/global-gitconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'git') 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] -- cgit v1.2.3