blob: 692db34985b2941b161bedd316fd084fd4d5fab0 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim syntax file
2" Language: Dylan
3" Authors: Justus Pendleton <justus@acm.org>
4" Last Change: Fri Sep 29 13:53:27 PDT 2000
5"
6
Bram Moolenaar89bcfda2016-08-30 23:26:57 +02007" quit when a syntax file was already loaded
8if exists("b:current_syntax")
Bram Moolenaar071d4272004-06-13 20:20:40 +00009 finish
10endif
11
12syn case ignore
13
14syn region dylanintrInfo matchgroup=Statement start="^" end=":" oneline
15syn match dylanintrInterface "define interface"
16syn match dylanintrClass "<.*>"
17syn region dylanintrType start=+"+ skip=+\\\\\|\\"+ end=+"+
18
19syn region dylanintrIncluded contained start=+"+ skip=+\\\\\|\\"+ end=+"+
20syn match dylanintrIncluded contained "<[^>]*>"
21syn match dylanintrInclude "^\s*#\s*include\>\s*["<]" contains=intrIncluded
22
23"syn keyword intrMods pointer struct
24
25" Define the default highlighting.
Bram Moolenaar89bcfda2016-08-30 23:26:57 +020026" Only when an item doesn't have highlighting yet
Bram Moolenaar071d4272004-06-13 20:20:40 +000027
Bram Moolenaarf37506f2016-08-31 22:22:10 +020028hi def link dylanintrInfo Special
29hi def link dylanintrInterface Operator
30hi def link dylanintrMods Type
31hi def link dylanintrClass StorageClass
32hi def link dylanintrType Type
33hi def link dylanintrIncluded String
34hi def link dylanintrInclude Include
Bram Moolenaar071d4272004-06-13 20:20:40 +000035
Bram Moolenaar071d4272004-06-13 20:20:40 +000036
37let b:current_syntax = "dylanintr"
38
39" vim:ts=8