Skip to content

Commit

Permalink
Require spaces before commit patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
rbong committed Nov 7, 2019
1 parent c2bb378 commit f5035e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions syntax/floggraph.vim
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ runtime! syntax/diff.vim

" Commit {{{

syntax match flogHash /\[[0-9a-f]\+\]/
syntax match flogAuthor /{[^}].*}/
syntax match flogRef /(\([^)~\\:^]\|tag:\)\+)/
syntax match flogDate /\v\d{4}-\d\d-\d\d( \d\d:\d\d(:\d\d( [+-][0-9]{4})?)?)?/
syntax match flogHash / \[[0-9a-f]\+\]/
syntax match flogAuthor / {[^}].*}/
syntax match flogRef / (\([^)~\\:^]\|tag:\)\+)/
syntax match flogDate / \v\d{4}-\d\d-\d\d( \d\d:\d\d(:\d\d( [+-][0-9]{4})?)?)?/

highlight default link flogHash Statement
highlight default link flogAuthor String
Expand Down

0 comments on commit f5035e7

Please sign in to comment.