summaryrefslogtreecommitdiff
path: root/runtime/syntax/rpcgen.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-31 22:22:10 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-31 22:22:10 +0200
commitf37506f60f87d52a9e8850e30067645e2b13783c (patch)
treea11d81f91e6ccb82f9ccdde6ad426ffbbaf3940f /runtime/syntax/rpcgen.vim
parentc628fdcd46e93c308f742efdf54248695960e290 (diff)
downloadvim-git-f37506f60f87d52a9e8850e30067645e2b13783c.tar.gz
Updated runtime files. Remove HiLink commands.
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"