comparison runtime/syntax/diva.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
9 " database. These items are for Diva verification rules decks. 9 " database. These items are for Diva verification rules decks.
10 10
11 " Don't remove any old syntax stuff hanging around! We need stuff 11 " Don't remove any old syntax stuff hanging around! We need stuff
12 " from skill.vim. 12 " from skill.vim.
13 if !exists("did_skill_syntax_inits") 13 if !exists("did_skill_syntax_inits")
14 if version < 600 14 runtime! syntax/skill.vim
15 so <sfile>:p:h/skill.vim
16 else
17 runtime! syntax/skill.vim
18 endif
19 endif 15 endif
20 16
21 syn keyword divaDRCKeywords area enc notch ovlp sep width 17 syn keyword divaDRCKeywords area enc notch ovlp sep width
22 syn keyword divaDRCKeywords app diffNet length lengtha lengthb 18 syn keyword divaDRCKeywords app diffNet length lengtha lengthb
23 syn keyword divaDRCKeywords notParallel only_perp opposite parallel 19 syn keyword divaDRCKeywords notParallel only_perp opposite parallel
79 syn match divaLVSFunctions "\<\(permute\|prune\|remove\)Device("he=e-1 75 syn match divaLVSFunctions "\<\(permute\|prune\|remove\)Device("he=e-1
80 syn match divaGeomFunctions "(geom\u\a\+\(45\|90\)\=\>"hs=s+1 76 syn match divaGeomFunctions "(geom\u\a\+\(45\|90\)\=\>"hs=s+1
81 syn match divaGeomFunctions "\<geom\u\a\+\(45\|90\)\=("he=e-1 77 syn match divaGeomFunctions "\<geom\u\a\+\(45\|90\)\=("he=e-1
82 78
83 " Define the default highlighting. 79 " Define the default highlighting.
84 " For version 5.7 and earlier: only when not done already 80 " Only when an item doesn't have highlighting yet
85 " For version 5.8 and later: only when an item doesn't have highlighting yet 81 command -nargs=+ HiLink hi def link <args>
86 if version >= 508 || !exists("did_diva_syntax_inits")
87 if version < 508
88 let did_diva_syntax_inits = 1
89 command -nargs=+ HiLink hi link <args>
90 else
91 command -nargs=+ HiLink hi def link <args>
92 endif
93 82
94 HiLink divaDRCKeywords Statement 83 HiLink divaDRCKeywords Statement
95 HiLink divaMeasKeywords Statement 84 HiLink divaMeasKeywords Statement
96 HiLink divaCtrlFunctions Conditional 85 HiLink divaCtrlFunctions Conditional
97 HiLink divaExtFunctions Function 86 HiLink divaExtFunctions Function
98 HiLink divaDRCFunctions Function 87 HiLink divaDRCFunctions Function
99 HiLink divaFunctions Function 88 HiLink divaFunctions Function
100 HiLink divaLayerFunctions Function 89 HiLink divaLayerFunctions Function
101 HiLink divaChkFunctions Function 90 HiLink divaChkFunctions Function
102 HiLink divaLVSFunctions Function 91 HiLink divaLVSFunctions Function
103 HiLink divaGeomFunctions Function 92 HiLink divaGeomFunctions Function
104 93
105 delcommand HiLink 94 delcommand HiLink
106 endif
107 95
108 let b:current_syntax = "diva" 96 let b:current_syntax = "diva"
109 97
110 " vim:ts=4 98 " vim:ts=4