dylanintr.vim 1.1 KB

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