dylanintr.vim (1078B)
1 " 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 7 " quit when a syntax file was already loaded 8 if exists("b:current_syntax") 9 finish 10 endif 11 12 syn case ignore 13 14 syn region dylanintrInfo matchgroup=Statement start="^" end=":" oneline 15 syn match dylanintrInterface "define interface" 16 syn match dylanintrClass "<.*>" 17 syn region dylanintrType start=+"+ skip=+\\\\\|\\"+ end=+"+ 18 19 syn region dylanintrIncluded contained start=+"+ skip=+\\\\\|\\"+ end=+"+ 20 syn match dylanintrIncluded contained "<[^>]*>" 21 syn match dylanintrInclude "^\s*#\s*include\>\s*["<]" contains=intrIncluded 22 23 "syn keyword intrMods pointer struct 24 25 " Define the default highlighting. 26 " Only when an item doesn't have highlighting yet 27 28 hi def link dylanintrInfo Special 29 hi def link dylanintrInterface Operator 30 hi def link dylanintrMods Type 31 hi def link dylanintrClass StorageClass 32 hi def link dylanintrType Type 33 hi def link dylanintrIncluded String 34 hi def link dylanintrInclude Include 35 36 37 let b:current_syntax = "dylanintr" 38 39 " vim:ts=8