From ce6df63e39380a3a7ad11579288ef4fb24ba31be Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 30 Mar 2023 22:36:23 -0700 Subject: [PATCH] fix(git): Properly match valid header in org-mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A header in org-mode needs at least one space after any ‘*’ character and then at least one other character after that. --- git/.config/git/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/.config/git/config b/git/.config/git/config index 646c2e0..c368e9d 100644 --- a/git/.config/git/config +++ b/git/.config/git/config @@ -2,6 +2,6 @@ name = Tom Willemse email = tom@ryuslash.org [diff "org"] - xfuncname = "^\\*+ *(.*)" + xfuncname = "^\\*+ +(.+)" [diff "lisp"] xfuncname = "^[[:space:]]*?\\(def\\w+? ((\\w|-|'|:|=|<|>)+)"