summaryrefslogtreecommitdiffhomepage
path: root/contrib/syntax/mintage.vim
blob: be2ea14a3f95256450a3a298f28904f1e3206c6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
if exists('b:current_syntax')
	finish
endif
let b:current_syntax = 'mintage2'

syntax match Comment    /^\s*#.*/
syntax match Number     /[0-9.]\+/
syntax match Identifier /\v\d{4}(-\S+)?/
syntax match String     /"[^"]\{-}"/

" ‘Todo’ is semantically a better syntax group, but it looks bad
syntax match Error      /?/