aboutsummaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-03-30 22:36:23 -0700
committerGravatar Tom Willemse2023-03-30 22:36:23 -0700
commitce6df63e39380a3a7ad11579288ef4fb24ba31be (patch)
treeda978b75b9c36501cc023c6068e6764abe5c782b /git
parent6c1c79e245d3d0eac64671523e9667c0b1150b16 (diff)
downloadnew-dotfiles-ce6df63e39380a3a7ad11579288ef4fb24ba31be.tar.gz
new-dotfiles-ce6df63e39380a3a7ad11579288ef4fb24ba31be.zip
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.
Diffstat (limited to 'git')
-rw-r--r--git/.config/git/config2
1 files changed, 1 insertions, 1 deletions
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|-|'|:|=|<|>)+)"