diff options
author | Nathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk> | 2015-08-25 11:59:03 +0100 |
---|---|---|
committer | Nathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk> | 2015-08-25 11:59:03 +0100 |
commit | 8fe1dac7fc768e2bcbfe1bfce2696cc09ff1fbd3 (patch) | |
tree | ee0ec944d830a4285991a61a3eab3bd9e4b9780e /syntax/custodian.vim |
Initial commit
Diffstat (limited to 'syntax/custodian.vim')
-rw-r--r-- | syntax/custodian.vim | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/syntax/custodian.vim b/syntax/custodian.vim new file mode 100644 index 0000000..40503c4 --- /dev/null +++ b/syntax/custodian.vim @@ -0,0 +1,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 |