[asterisk-commits] mmichelson: trunk r368467 - /trunk/contrib/editors/asterisk.vim

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 4 15:53:47 CDT 2012


Author: mmichelson
Date: Mon Jun  4 15:53:43 2012
New Revision: 368467

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=368467
Log:
Also have vim syntax-highlight type=network.


Modified:
    trunk/contrib/editors/asterisk.vim

Modified: trunk/contrib/editors/asterisk.vim
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/editors/asterisk.vim?view=diff&rev=368467&r1=368466&r2=368467
==============================================================================
--- trunk/contrib/editors/asterisk.vim (original)
+++ trunk/contrib/editors/asterisk.vim Mon Jun  4 15:53:43 2012
@@ -39,8 +39,8 @@
 syn match       asteriskCodecsPermit    "^\s*\(allow\|disallow\)\s*=\s*.*$" contains=asteriskCodecs
 syn match       asteriskCodecs          "\(g723\|gsm\|ulaw\|alaw\|g726\|adpcm\|slin\|lpc10\|g729\|speex\|speex16\|ilbc\|all\s*$\)"
 syn match       asteriskError           "^\(type\|auth\|permit\|deny\|bindaddr\|host\)\s*=.*$"
-syn match       asteriskType            "^\zstype=\ze\<\(peer\|user\|friend\|phone\|line\|application\)\>$" contains=asteriskTypeType
-syn match       asteriskTypeType        "\<\(peer\|user\|friend\|phone\|line\|application\)\>" contained
+syn match       asteriskType            "^\zstype=\ze\<\(peer\|user\|friend\|phone\|line\|application\|network\)\>$" contains=asteriskTypeType
+syn match       asteriskTypeType        "\<\(peer\|user\|friend\|phone\|line\|application\|network\)\>" contained
 syn match       asteriskAuth            "^\zsauth\s*=\ze\s*\<\(md5\|rsa\|plaintext\)\>$" contains=asteriskAuthType
 syn match       asteriskAuthType        "\<\(md5\|rsa\|plaintext\)\>" contained
 syn match       asteriskAuth            "^\zs\(secret\|inkeys\|outkey\)\s*=\ze.*$"




More information about the asterisk-commits mailing list