mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
git: refine regexp for elisp diff hunk headings
This commit is contained in:
parent
202dec81b7
commit
88ddd73b3a
|
|
@ -1,4 +1,3 @@
|
|||
*.lisp diff=lisp
|
||||
*.el diff=lisp
|
||||
*.el diff=elisp
|
||||
*.org diff=org
|
||||
*.md diff=markdown
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
rebase = false
|
||||
[format]
|
||||
thread = true
|
||||
[diff "lisp"]
|
||||
xfuncname = "^(\\(.*)$"
|
||||
[diff "elisp"]
|
||||
xfuncname = "^\\([^[:space:]]*def[^[:space:]]+[[:space:]]+([^()[:space:]]+)"
|
||||
[diff "org"]
|
||||
xfuncname = "^(\\*+ +.*)$"
|
||||
|
|
|
|||
Loading…
Reference in a new issue