home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 February / OpenLinux 2.3 CD.iso / live / usr / share / vim / syntax / jgraph.vim < prev    next >
Encoding:
Text File  |  1999-08-10  |  1.1 KB  |  39 lines

  1. " Vim syntax file
  2. " Language:     jgraph (graph plotting utility) 
  3. " Maintainer:   Jonas Munsin jmunsin@iki.fi 
  4. " Last change:  1998 May 14
  5. " this syntax file is not yet complete
  6.  
  7.  
  8. " Remove any old syntax stuff hanging around
  9. syn clear
  10. syn case match
  11.  
  12. " comments
  13. syn region    jgraphComment    start="(\* " end=" \*)"
  14.  
  15. syn keyword    jgraphCmd    newcurve newgraph marktype 
  16. syn keyword    jgraphType    xaxis yaxis 
  17.  
  18. syn keyword    jgraphType    circle box diamond triangle x cross ellipse 
  19. syn keyword    jgraphType    xbar ybar text postscript eps none general    
  20.  
  21. syn keyword    jgraphType    solid dotted dashed longdash dotdash dodotdash    
  22. syn keyword    jgraphType    dotdotdashdash pts    
  23.  
  24. "integer number, or floating point number without a dot. - or no -
  25. syn match  jgraphNumber          "\<-\=\d\+\>"
  26. "floating point number, with dot - or no -
  27. syn match  jgraphNumber          "\<-\=\d\+\.\d*\>"
  28. "floating point number, starting with a dot - or no -
  29. syn match  jgraphNumber          "\-\=\.\d\+\>"
  30.  
  31.  
  32. hi link jgraphComment    Comment
  33. hi link jgraphCmd    Identifier 
  34. hi link jgraphType    Type 
  35. hi link jgraphNumber    Number 
  36.  
  37.  
  38. let b:current_syntax = "jgraph"
  39.