summaryrefslogtreecommitdiff
path: root/runtime/syntax/rpcgen.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/rpcgen.vim')
-rw-r--r--runtime/syntax/rpcgen.vim29
1 files changed, 14 insertions, 15 deletions
diff --git a/runtime/syntax/rpcgen.vim b/runtime/syntax/rpcgen.vim
index ee4cc3fda..08183d43a 100644
--- a/runtime/syntax/rpcgen.vim
+++ b/runtime/syntax/rpcgen.vim
@@ -1,8 +1,8 @@
" Vim syntax file
" Language: rpcgen
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
-" Last Change: Jan 13, 2015
-" Version: 10
+" Last Change: Aug 31, 2016
+" Version: 12
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_RPCGEN
if exists("b:current_syntax")
@@ -24,23 +24,22 @@ syn match rpcProgNmbrErr contained "=\s*0x[^23]\x*"ms=s+1
syn match rpcPassThru "^\s*%.*$"
" Define the default highlighting.
-" Only when an item doesn't have highlighting yet
-command -nargs=+ HiLink hi def link <args>
+if !exists("skip_rpcgen_syntax_inits")
-HiLink rpcProgName rpcName
-HiLink rpcProgram rpcStatement
-HiLink rpcVersName rpcName
-HiLink rpcVersion rpcStatement
+ hi def link rpcProgName rpcName
+ hi def link rpcProgram rpcStatement
+ hi def link rpcVersName rpcName
+ hi def link rpcVersion rpcStatement
-HiLink rpcDecl cType
-HiLink rpcPassThru cComment
+ hi def link rpcDecl cType
+ hi def link rpcPassThru cComment
-HiLink rpcName Special
-HiLink rpcProcNmbr Delimiter
-HiLink rpcProgNmbrErr Error
-HiLink rpcStatement Statement
+ hi def link rpcName Special
+ hi def link rpcProcNmbr Delimiter
+ hi def link rpcProgNmbrErr Error
+ hi def link rpcStatement Statement
-delcommand HiLink
+endif
let b:current_syntax = "rpcgen"