# HG changeset patch # User Volker Birk # Date 1471762209 -7200 # Node ID 4b65c6f36f216094a8e9c3b64de04ba3c4887176 # Parent 23daf9d318acc056f7df02d877443f65c58f0a2a correcting ??? problems in parantheses diff -r 23daf9d318ac -r 4b65c6f36f21 vim/syntax/yml2.vim --- a/vim/syntax/yml2.vim Mon Jul 11 23:35:43 2016 +0200 +++ b/vim/syntax/yml2.vim Sun Aug 21 08:50:09 2016 +0200 @@ -22,7 +22,7 @@ syn match cBadContinuation contained "\\\s\+$" " cCommentGroup allows adding matches for special things in comments -syn cluster cCommentGroup contains=cTodo,cBadContinuation,ymlString +syn cluster cCommentGroup contains=cTodo,cBadContinuation,ymlStringComment " String and Character constants " Highlight special characters (those which have a backslash) differently @@ -30,7 +30,8 @@ if !exists("c_no_utf") syn match cSpecial display contained "\\\(u\x\{4}\|U\x\{8}\)" endif -syn region ymlString start=+L\=«+ skip=+\\\\\|\\"+ end=+»+ contains=cSpecial,@Spell +syn region ymlString start=+L\=«+ end=+»+ contains=cSpecial,@Spell +syn region ymlStringComment start=+L\=«+ end=+»+ contains=cSpecial,@Spell if exists("c_no_cformat") syn region cString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=cSpecial,@Spell,ymlString " cCppString: same as cString, but ends at end of line @@ -370,6 +371,7 @@ hi def link cCppOut2 cCppOut hi def link cCppOut Comment hi def link ymlString Operator +hi def link ymlStringComment Operator let b:current_syntax = "yml2" " vim: ts=8