comparison 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
comparison
equal deleted inserted replaced
10050:b702edc4b2b8 10051:46763b01cd9a
1 " Vim syntax file 1 " Vim syntax file
2 " Language: C-shell (csh) 2 " Language: C-shell (csh)
3 " Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz> 3 " Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
4 " Last Change: Oct 23, 2014 4 " Last Change: Aug 31, 2016
5 " Version: 11 5 " Version: 13
6 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_CSH 6 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_CSH
7 7
8 " quit when a syntax file was already loaded 8 " quit when a syntax file was already loaded
9 if exists("b:current_syntax") 9 if exists("b:current_syntax")
10 finish 10 finish
98 98
99 " Shell Input Redirection (Here Documents) 99 " Shell Input Redirection (Here Documents)
100 syn region cshHereDoc matchgroup=cshRedir start="<<-\=\s*\**\z(\h\w*\)\**" matchgroup=cshRedir end="^\z1$" 100 syn region cshHereDoc matchgroup=cshRedir start="<<-\=\s*\**\z(\h\w*\)\**" matchgroup=cshRedir end="^\z1$"
101 101
102 " Define the default highlighting. 102 " Define the default highlighting.
103 " Only when an item doesn't have highlighting yet 103 if !exists("skip_csh_syntax_inits")
104 command -nargs=+ HiLink hi def link <args>
105 104
106 HiLink cshArgv cshVariables 105 hi def link cshArgv cshVariables
107 HiLink cshBckQuote cshCommand 106 hi def link cshBckQuote cshCommand
108 HiLink cshDblQuote cshString 107 hi def link cshDblQuote cshString
109 HiLink cshExtVar cshVariables 108 hi def link cshExtVar cshVariables
110 HiLink cshHereDoc cshString 109 hi def link cshHereDoc cshString
111 HiLink cshNoEndlineBQ cshNoEndline 110 hi def link cshNoEndlineBQ cshNoEndline
112 HiLink cshNoEndlineDQ cshNoEndline 111 hi def link cshNoEndlineDQ cshNoEndline
113 HiLink cshNoEndlineSQ cshNoEndline 112 hi def link cshNoEndlineSQ cshNoEndline
114 HiLink cshQtyWord cshVariables 113 hi def link cshQtyWord cshVariables
115 HiLink cshRedir cshOperator 114 hi def link cshRedir cshOperator
116 HiLink cshSelector cshVariables 115 hi def link cshSelector cshVariables
117 HiLink cshSetStmt cshStatement 116 hi def link cshSetStmt cshStatement
118 HiLink cshSetVariables cshVariables 117 hi def link cshSetVariables cshVariables
119 HiLink cshSnglQuote cshString 118 hi def link cshSnglQuote cshString
120 HiLink cshSubst cshVariables 119 hi def link cshSubst cshVariables
121 120
122 HiLink cshCommand Statement 121 hi def link cshCommand Statement
123 HiLink cshComment Comment 122 hi def link cshComment Comment
124 HiLink cshConditional Conditional 123 hi def link cshConditional Conditional
125 HiLink cshIdentifier Error 124 hi def link cshIdentifier Error
126 HiLink cshModifier Special 125 hi def link cshModifier Special
127 HiLink cshNoEndline Error 126 hi def link cshNoEndline Error
128 HiLink cshNumber Number 127 hi def link cshNumber Number
129 HiLink cshOperator Operator 128 hi def link cshOperator Operator
130 HiLink cshRedir Statement 129 hi def link cshRedir Statement
131 HiLink cshRepeat Repeat 130 hi def link cshRepeat Repeat
132 HiLink cshShellVariables Special 131 hi def link cshShellVariables Special
133 HiLink cshSpecial Special 132 hi def link cshSpecial Special
134 HiLink cshStatement Statement 133 hi def link cshStatement Statement
135 HiLink cshString String 134 hi def link cshString String
136 HiLink cshSubstError Error 135 hi def link cshSubstError Error
137 HiLink cshTodo Todo 136 hi def link cshTodo Todo
138 HiLink cshVariables Type 137 hi def link cshVariables Type
139 138
140 delcommand HiLink 139 endif
141 140
142 let b:current_syntax = "csh" 141 let b:current_syntax = "csh"
143 142
144 " vim: ts=18 143 " vim: ts=18