From 8fe1dac7fc768e2bcbfe1bfce2696cc09ff1fbd3 Mon Sep 17 00:00:00 2001 From: Nathan Lasseter Date: Tue, 25 Aug 2015 11:59:03 +0100 Subject: Initial commit --- syntax/custodian.vim | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 syntax/custodian.vim (limited to 'syntax/custodian.vim') 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 -- cgit v1.2.3