Module: sip-router Branch: master Commit: 4bcd4628f265f6c96b2f694c644fcff29ec62cfd URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4bcd4628...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Tue May 24 22:45:01 2011 +0200
utils: updated vim syntx highlighting file
- added new aliased route blocks names and pre-processor start sequences
---
utils/misc/vim/syntax/ser.vim | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/utils/misc/vim/syntax/ser.vim b/utils/misc/vim/syntax/ser.vim index e313483..f9caddd 100644 --- a/utils/misc/vim/syntax/ser.vim +++ b/utils/misc/vim/syntax/ser.vim @@ -34,7 +34,7 @@ syn keyword serTodo TODO FIXME XXX contained syn match serOperator '!|&&||||=[~=]?|>|<|+|-|/|*|||&|^|~|defined|eq|ieq|ne|ine|mod' display contained
syn region serCppComment start='/*' end='*/' contains=serTodo -syn match serHashDefine '#!define\s|#!ifdef\s|#!ifndef\s|#!endif|#!else|#!subst|#!KAMAILIO|#!OPENSER|#!SER|#!MAXCOMPAT|#!ALL' +syn match serHashDefine '#!define\s|#!ifdef\s|#!ifndef\s|#!endif|#!else|#!subst|!!define\s|!!ifdef\s|!!ifndef\s|!!endif|!!else|!!subst|#!KAMAILIO|#!OPENSER|#!SER|#!MAXCOMPAT|#!ALL' " syn match serHashDefine '^\s*#!.+$' syn match serHashComment '#[^!].*$|#$' contains=serTodo
@@ -56,8 +56,8 @@ syn keyword serCoreParameter debug fork log_stderror log_facility listen alias a
syn region serBlock start='{' end='}' contained contains=serBlock,@serCodeElements
-syn match serRouteBlock '(failure_|onreply_|branch_|event_|onsend_)?route(\s*[[^]]+])?' contained contains=serNumber,serString,serIdentifier -syn region serRrouteBlockFold matchgroup=serRouteBlock start="(failure_|onreply_|branch_|event_|onsend_)?route(\s*[[^]]+])?\s*\n?{" matchgroup=NONE end="}" contains=serBlock,@serCodeElements +syn match serRouteBlock '(failure_|onreply_|branch_|event_|onsend_|request_|reply_)?route(\s*[[^]]+])?' contained contains=serNumber,serString,serIdentifier +syn region serRrouteBlockFold matchgroup=serRouteBlock start="(failure_|onreply_|branch_|event_|onsend_|request_|reply_)?route(\s*[[^]]+])?\s*\n?{" matchgroup=NONE end="}" contains=serBlock,@serCodeElements
syn cluster serCodeElements contains=serHashDefine,serCppComment,serHashComment,serNumber,serString,serVariable,serOperator,serStatement,serKeyword,serCoreKeyword,serCoreValue,serCoreFunction,serIdentifier