comparison runtime/syntax/dylanintr.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
2 " Language: Dylan 2 " Language: Dylan
3 " Authors: Justus Pendleton <justus@acm.org> 3 " Authors: Justus Pendleton <justus@acm.org>
4 " Last Change: Fri Sep 29 13:53:27 PDT 2000 4 " Last Change: Fri Sep 29 13:53:27 PDT 2000
5 " 5 "
6 6
7 " For version 5.x: Clear all syntax items 7 " quit when a syntax file was already loaded
8 " For version 6.x: Quit when a syntax file was already loaded 8 if exists("b:current_syntax")
9 if version < 600
10 syntax clear
11 elseif exists("b:current_syntax")
12 finish 9 finish
13 endif 10 endif
14 11
15 syn case ignore 12 syn case ignore
16 13
24 syn match dylanintrInclude "^\s*#\s*include\>\s*["<]" contains=intrIncluded 21 syn match dylanintrInclude "^\s*#\s*include\>\s*["<]" contains=intrIncluded
25 22
26 "syn keyword intrMods pointer struct 23 "syn keyword intrMods pointer struct
27 24
28 " Define the default highlighting. 25 " Define the default highlighting.
29 " For version 5.7 and earlier: only when not done already 26 " Only when an item doesn't have highlighting yet
30 " For version 5.8 and later: only when an item doesn't have highlighting yet 27 command -nargs=+ HiLink hi def link <args>
31 if version >= 508 || !exists("did_dylan_intr_syntax_inits")
32 if version < 508
33 let did_dylan_intr_syntax_inits = 1
34 command -nargs=+ HiLink hi link <args>
35 else
36 command -nargs=+ HiLink hi def link <args>
37 endif
38 28
39 HiLink dylanintrInfo Special 29 HiLink dylanintrInfo Special
40 HiLink dylanintrInterface Operator 30 HiLink dylanintrInterface Operator
41 HiLink dylanintrMods Type 31 HiLink dylanintrMods Type
42 HiLink dylanintrClass StorageClass 32 HiLink dylanintrClass StorageClass
43 HiLink dylanintrType Type 33 HiLink dylanintrType Type
44 HiLink dylanintrIncluded String 34 HiLink dylanintrIncluded String
45 HiLink dylanintrInclude Include 35 HiLink dylanintrInclude Include
46 36
47 delcommand HiLink 37 delcommand HiLink
48 endif
49 38
50 let b:current_syntax = "dylanintr" 39 let b:current_syntax = "dylanintr"
51 40
52 " vim:ts=8 41 " vim:ts=8