summaryrefslogtreecommitdiffhomepage
path: root/contrib/syntax/mintage.vim
blob: 6327f61c7266fb27d0f90a25b1eed1d50127391e (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 = 'mintage'

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      /?/