[Asterisk-code-review] contrib/editors: Correct syntax highlighting for comments in... (asterisk[master])

Ivan Poddubny asteriskteam at digium.com
Wed May 6 23:20:51 CDT 2015


Ivan Poddubny has posted comments on this change.

Change subject: contrib/editors: Correct syntax highlighting for comments in vim
......................................................................


Patch Set 1:

1) Use an escaped semicolon in extensions.conf, for example:
exten => _1XX,1,SIPAddHeader(Call-Info: \;answer-after=0)

Without the patch everything after ; is highlighted as a comment, which is wrong.

2) Use block comments in any config file, like this:
;--
this line is commented
;--
this is a nested block comment
--;
[xxx]
this is still a comment
--;

;----  this is a single line comment, ";---" is an exception and does not start a block
[not_commented]
x=1

Block comments were not supported at all.

-- 
To view, visit https://gerrit.asterisk.org/354
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id17dfaeda8ed4be572e8107a0c010066584aaee7
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Ivan Poddubny <ivan.poddubny at gmail.com>
Gerrit-Reviewer: George Joseph <george.joseph at fairview5.com>
Gerrit-Reviewer: Ivan Poddubny <ivan.poddubny at gmail.com>
Gerrit-HasComments: No



More information about the asterisk-code-review mailing list