diff runtime/syntax/csh.vim @ 10051:46763b01cd9a

commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 31 22:22:10 2016 +0200 Updated runtime files. Remove HiLink commands.
author Christian Brabandt <cb@256bit.org>
date Wed, 31 Aug 2016 22:30:08 +0200
parents 43efa4f5a8ea
children 8edf0aeb71b9
line wrap: on
line diff
--- a/runtime/syntax/csh.vim
+++ b/runtime/syntax/csh.vim
@@ -1,8 +1,8 @@
 " Vim syntax file
 " Language:	C-shell (csh)
 " Maintainer:	Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
-" Last Change:	Oct 23, 2014
-" Version:	11
+" Last Change:	Aug 31, 2016
+" Version:	13
 " URL:	http://www.drchip.org/astronaut/vim/index.html#SYNTAX_CSH
 
 " quit when a syntax file was already loaded
@@ -100,44 +100,43 @@ syn match cshNumber	"-\=\<\d\+\>"
 syn region cshHereDoc matchgroup=cshRedir start="<<-\=\s*\**\z(\h\w*\)\**" matchgroup=cshRedir end="^\z1$"
 
 " Define the default highlighting.
-" Only when an item doesn't have highlighting yet
-command -nargs=+ HiLink hi def link <args>
+if !exists("skip_csh_syntax_inits")
 
-HiLink cshArgv		cshVariables
-HiLink cshBckQuote	cshCommand
-HiLink cshDblQuote	cshString
-HiLink cshExtVar	cshVariables
-HiLink cshHereDoc	cshString
-HiLink cshNoEndlineBQ	cshNoEndline
-HiLink cshNoEndlineDQ	cshNoEndline
-HiLink cshNoEndlineSQ	cshNoEndline
-HiLink cshQtyWord	cshVariables
-HiLink cshRedir		cshOperator
-HiLink cshSelector	cshVariables
-HiLink cshSetStmt	cshStatement
-HiLink cshSetVariables	cshVariables
-HiLink cshSnglQuote	cshString
-HiLink cshSubst		cshVariables
+  hi def link cshArgv		cshVariables
+  hi def link cshBckQuote	cshCommand
+  hi def link cshDblQuote	cshString
+  hi def link cshExtVar	cshVariables
+  hi def link cshHereDoc	cshString
+  hi def link cshNoEndlineBQ	cshNoEndline
+  hi def link cshNoEndlineDQ	cshNoEndline
+  hi def link cshNoEndlineSQ	cshNoEndline
+  hi def link cshQtyWord	cshVariables
+  hi def link cshRedir		cshOperator
+  hi def link cshSelector	cshVariables
+  hi def link cshSetStmt	cshStatement
+  hi def link cshSetVariables	cshVariables
+  hi def link cshSnglQuote	cshString
+  hi def link cshSubst		cshVariables
 
-HiLink cshCommand	Statement
-HiLink cshComment	Comment
-HiLink cshConditional	Conditional
-HiLink cshIdentifier	Error
-HiLink cshModifier	Special
-HiLink cshNoEndline	Error
-HiLink cshNumber	Number
-HiLink cshOperator	Operator
-HiLink cshRedir		Statement
-HiLink cshRepeat	Repeat
-HiLink cshShellVariables	Special
-HiLink cshSpecial	Special
-HiLink cshStatement	Statement
-HiLink cshString	String
-HiLink cshSubstError	Error
-HiLink cshTodo		Todo
-HiLink cshVariables	Type
+  hi def link cshCommand	Statement
+  hi def link cshComment	Comment
+  hi def link cshConditional	Conditional
+  hi def link cshIdentifier	Error
+  hi def link cshModifier	Special
+  hi def link cshNoEndline	Error
+  hi def link cshNumber	Number
+  hi def link cshOperator	Operator
+  hi def link cshRedir		Statement
+  hi def link cshRepeat	Repeat
+  hi def link cshShellVariables	Special
+  hi def link cshSpecial	Special
+  hi def link cshStatement	Statement
+  hi def link cshString	String
+  hi def link cshSubstError	Error
+  hi def link cshTodo		Todo
+  hi def link cshVariables	Type
 
-delcommand HiLink
+endif
 
 let b:current_syntax = "csh"