blob: ec7b40114cb94fc8cb75ea60449bc0e514dce79e [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim syntax file
2" Language: Dylan Library Interface Files
3" Authors: Justus Pendleton <justus@acm.org>
4" Brent Fulgham <bfulgham@debian.org>
5" Last Change: Fri Sep 29 13:50:20 PDT 2000
6"
7
8" For version 5.x: Clear all syntax items
9" For version 6.x: Quit when a syntax file was already loaded
10if version < 600
11 syntax clear
12elseif exists("b:current_syntax")
13 finish
14endif
15
16syn case ignore
17
18syn region dylanlidInfo matchgroup=Statement start="^" end=":" oneline
19syn region dylanlidEntry matchgroup=Statement start=":%" end="$" oneline
20
21syn sync lines=50
22
23" Define the default highlighting.
24" For version 5.7 and earlier: only when not done already
25" For version 5.8 and later: only when an item doesn't have highlighting yet
26if version >= 508 || !exists("did_dylan_lid_syntax_inits")
27 if version < 508
28 let did_dylan_lid_syntax_inits = 1
29 command -nargs=+ HiLink hi link <args>
30 else
31 command -nargs=+ HiLink hi def link <args>
32 endif
33
34 HiLink dylanlidInfo Type
35 HiLink dylanlidEntry String
36
37 delcommand HiLink
38endif
39
40let b:current_syntax = "dylanlid"
41
42" vim:ts=8