summaryrefslogtreecommitdiff
path: root/runtime/syntax/mib.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-14 23:24:24 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-14 23:24:24 +0200
commit00a927d62b68a3523cb1c4f9aa3f7683345c8182 (patch)
tree9138abae11d363aa87818791195edf6e85aef15d /runtime/syntax/mib.vim
parentf1eeae94fd78f81d85d2abe3d955dc21d5ef979c (diff)
downloadvim-00a927d62b68a3523cb1c4f9aa3f7683345c8182.zip
Updated runtime files.
Diffstat (limited to 'runtime/syntax/mib.vim')
-rw-r--r--runtime/syntax/mib.vim8
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/syntax/mib.vim b/runtime/syntax/mib.vim
index 2a8a73f61..6062d50bc 100644
--- a/runtime/syntax/mib.vim
+++ b/runtime/syntax/mib.vim
@@ -3,13 +3,13 @@
" Maintainer: Martin Smat <msmat@post.cz>
" Original Author: David Pascoe <pascoedj@spamcop.net>
" Written: Wed Jan 28 14:37:23 GMT--8:00 1998
-" Last Changed: Mon Mar 15 2010
+" Last Changed: Mon Mar 23 2010
if exists("b:current_syntax")
finish
endif
-setlocal iskeyword=@,48-57,_,128-167,224-235,-,:,=
+setlocal iskeyword=@,48-57,_,128-167,224-235,-
syn keyword mibImplicit ACCESS ANY AUGMENTS BEGIN BIT BITS BOOLEAN CHOICE
syn keyword mibImplicit COMPONENTS CONTACT-INFO DEFINITIONS DEFVAL
@@ -22,7 +22,7 @@ syn keyword mibImplicit NULL OBJECT-GROUP OBJECT-IDENTITY OBJECT-TYPE
syn keyword mibImplicit OBJECTS OF OPTIONAL ORGANIZATION REFERENCE
syn keyword mibImplicit REVISION SEQUENCE SET SIZE STATUS SYNTAX
syn keyword mibImplicit TEXTUAL-CONVENTION TRAP-TYPE TRUE UNITS VARIABLES
-syn keyword mibImplicit WRITE-SYNTAX ::=
+syn keyword mibImplicit WRITE-SYNTAX
syn keyword mibValue accessible-for-notify current DisplayString
syn keyword mibValue deprecated mandatory not-accessible obsolete optional
syn keyword mibValue read-create read-only read-write write-only INTEGER
@@ -40,11 +40,13 @@ syn keyword mibEpilogue test-function-async next-function next-function-async
syn keyword mibEpilogue leaf-name
syn keyword mibEpilogue DEFAULT contained
+syn match mibOperator "::="
syn match mibComment "\ *--.\{-}\(--\|$\)"
syn match mibNumber "\<['0-9a-fA-FhH]*\>"
syn region mibDescription start="\"" end="\"" contains=DEFAULT
hi def link mibImplicit Statement
+hi def link mibOperator Statement
hi def link mibComment Comment
hi def link mibConstants String
hi def link mibNumber Number