aboutsummaryrefslogtreecommitdiff
path: root/syntax/custodian.vim
blob: 40503c4f29dcbe62e13da1058bcf3939f8832e6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
" Vim syntax file
" Language: Sentinel/Custodian
" Maintaner: Nathan Lasseter
" Latest Revision: 09 December 2014

if exists("b:current_syntax")
  finish
endif

syn keyword hostKeywords is are and fetched from
syn keyword ruleKeywords must run on not otherwise

syn match bytemarkMacros '__\w\+__'
syn match endStatement '\.\s*$'
syn match withKeyword 'with\(out\)\?\s\+\w\+'
syn match comment '#.*$'
syn match url /https\?:\/\/\(\w\+\(:\w\+\)\?@\)\?\([A-Za-z][-_0-9A-Za-z]*\.\)\{1,}\(\w\{2,}\.\?\)\{1,}\(:[0-9]\{1,5}\)\?\S*/

let b:current_syntax = "custodian"

hi def link hostKeywords Statement
hi def link ruleKeywords Statement
hi def link withKeyword Statement
hi def link endStatement Statement
hi def link bytemarkMacros Todo
hi def link comment Comment
hi def link url Constant