fix(git): Properly match valid header in org-mode

A header in org-mode needs at least one space after any ‘*’ character and then
at least one other character after that.
This commit is contained in:
Tom Willemse 2023-03-30 22:36:23 -07:00
parent 6c1c79e245
commit ce6df63e39

View file

@ -2,6 +2,6 @@
name = Tom Willemse name = Tom Willemse
email = tom@ryuslash.org email = tom@ryuslash.org
[diff "org"] [diff "org"]
xfuncname = "^\\*+ *(.*)" xfuncname = "^\\*+ +(.+)"
[diff "lisp"] [diff "lisp"]
xfuncname = "^[[:space:]]*?\\(def\\w+? ((\\w|-|'|:|=|<|>)+)" xfuncname = "^[[:space:]]*?\\(def\\w+? ((\\w|-|'|:|=|<|>)+)"