mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:50:03 +08:00
13 lines
400 B
VimL
Vendored
13 lines
400 B
VimL
Vendored
if exists('b:current_syntax')
|
|
finish
|
|
endif
|
|
let b:current_syntax = 'git-log'
|
|
syntax case ignore
|
|
syn match GitLogCommitHash /^[*|\\ \/]\+\zs[a-z0-9]\+/
|
|
syn match GitLogCommitBranchLog /\(^*\s\+[a-z0-9A-Z]*\s\+-\s\+\)\@<=([^)]*)/
|
|
syn match GitLogCommitAuthorDate /([^(]*)$/
|
|
|
|
hi def link GitLogCommitHash Statement
|
|
hi def link GitLogCommitBranchLog Comment
|
|
hi def link GitLogCommitAuthorDate Comment
|