Mercurial > vim
comparison runtime/syntax/nastran.vim @ 10048:43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 30 23:26:57 2016 +0200
Updated runtime files. Remove version checks for Vim older than 6.0.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 30 Aug 2016 23:30:09 +0200 |
parents | 3fc0f57ecb91 |
children | 46763b01cd9a |
comparison
equal
deleted
inserted
replaced
10047:a62862410ca1 | 10048:43efa4f5a8ea |
---|---|
4 " Last change: April 27, 2001 | 4 " Last change: April 27, 2001 |
5 " Thanks to the authors and maintainers of fortran.vim. | 5 " Thanks to the authors and maintainers of fortran.vim. |
6 " Since DMAP shares some traits with fortran, this syntax file | 6 " Since DMAP shares some traits with fortran, this syntax file |
7 " is based on the fortran.vim syntax file. | 7 " is based on the fortran.vim syntax file. |
8 "---------------------------------------------------------------------- | 8 "---------------------------------------------------------------------- |
9 " Remove any old syntax stuff hanging around | 9 " quit when a syntax file was already loaded |
10 "syn clear | 10 if exists("b:current_syntax") |
11 if version < 600 | |
12 syntax clear | |
13 elseif exists("b:current_syntax") | |
14 finish | 11 finish |
15 endif | 12 endif |
16 " DMAP is not case dependent | 13 " DMAP is not case dependent |
17 syn case ignore | 14 syn case ignore |
18 " | 15 " |
154 " -------The following cards may appear in multiple sections of the file | 151 " -------The following cards may appear in multiple sections of the file |
155 " | 152 " |
156 syn keyword nastranUtilCard ECHOON ECHOOFF INCLUDE PARAM | 153 syn keyword nastranUtilCard ECHOON ECHOOFF INCLUDE PARAM |
157 | 154 |
158 | 155 |
159 if version >= 508 || !exists("did_nastran_syntax_inits") | 156 command -nargs=+ HiLink hi link <args> |
160 if version < 508 | 157 " The default methods for highlighting. Can be overridden later |
161 let did_nastran_syntax_inits = 1 | 158 HiLink nastranDmapexecmod Statement |
162 command -nargs=+ HiLink hi link <args> | 159 HiLink nastranDmapType Type |
163 else | 160 HiLink nastranDmapPreCondit Error |
164 command -nargs=+ HiLink hi link <args> | 161 HiLink nastranDmapUtilmod PreProc |
165 endif | 162 HiLink nastranDmapMatmod nastranDmapUtilmod |
166 " The default methods for highlighting. Can be overridden later | 163 HiLink nastranDmapString String |
167 HiLink nastranDmapexecmod Statement | 164 HiLink nastranDmapNumber Constant |
168 HiLink nastranDmapType Type | 165 HiLink nastranDmapFloat nastranDmapNumber |
169 HiLink nastranDmapPreCondit Error | 166 HiLink nastranDmapInitTab nastranDmapNumber |
170 HiLink nastranDmapUtilmod PreProc | 167 HiLink nastranDmapTab nastranDmapNumber |
171 HiLink nastranDmapMatmod nastranDmapUtilmod | 168 HiLink nastranDmapLogical nastranDmapExecmod |
172 HiLink nastranDmapString String | 169 HiLink nastranDmapImplicit Identifier |
173 HiLink nastranDmapNumber Constant | 170 HiLink nastranDmapComment Comment |
174 HiLink nastranDmapFloat nastranDmapNumber | 171 HiLink nastranDmapRepeat nastranDmapexecmod |
175 HiLink nastranDmapInitTab nastranDmapNumber | 172 HiLink nastranNastranCard nastranDmapPreCondit |
176 HiLink nastranDmapTab nastranDmapNumber | 173 HiLink nastranECSCard nastranDmapUtilmod |
177 HiLink nastranDmapLogical nastranDmapExecmod | 174 HiLink nastranFMSCard nastranNastranCard |
178 HiLink nastranDmapImplicit Identifier | 175 HiLink nastranCC nastranDmapexecmod |
179 HiLink nastranDmapComment Comment | 176 HiLink nastranDelimiter Special |
180 HiLink nastranDmapRepeat nastranDmapexecmod | 177 HiLink nastranBulkData nastranDmapType |
181 HiLink nastranNastranCard nastranDmapPreCondit | 178 HiLink nastranUtilCard nastranDmapexecmod |
182 HiLink nastranECSCard nastranDmapUtilmod | 179 delcommand HiLink |
183 HiLink nastranFMSCard nastranNastranCard | |
184 HiLink nastranCC nastranDmapexecmod | |
185 HiLink nastranDelimiter Special | |
186 HiLink nastranBulkData nastranDmapType | |
187 HiLink nastranUtilCard nastranDmapexecmod | |
188 delcommand HiLink | |
189 endif | |
190 | 180 |
191 let b:current_syntax = "nastran" | 181 let b:current_syntax = "nastran" |
192 | 182 |
193 "EOF vim: ts=8 noet tw=120 sw=8 sts=0 | 183 "EOF vim: ts=8 noet tw=120 sw=8 sts=0 |