gitrevlist.vim (497B)
1 " Vim syntax file 2 " Language: Git revision list 3 " Author: Fionn Fitzmaurice (github.com/fionn) 4 " Maintainer: Fionn Fitzmaurice (github.com/fionn) 5 " License: Vim & Apache 2.0 6 7 if exists("b:current_syntax") 8 finish 9 endif 10 11 syn match gitrevlistHash "\<\x\{40}\>\|\<\x\{64}\>" contains=@NoSpell nextgroup=gitrevlistComment skipwhite 12 syn match gitrevlistComment "#.*$" 13 14 hi def link gitrevlistHash Identifier 15 hi def link gitrevlistComment Comment 16 17 let b:current_syntax = "gitrevlist"