codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: jgraph (graph plotting utility)3" Maintainer: Jonas Munsin jmunsin@iki.fi4" Last Change: 2003 May 045" this syntax file is not yet complete6 7 8" quit when a syntax file was already loaded9if exists("b:current_syntax")10 finish11endif12 13syn case match14 15" comments16syn region jgraphComment start="(\* " end=" \*)"17 18syn keyword jgraphCmd newcurve newgraph marktype19syn keyword jgraphType xaxis yaxis20 21syn keyword jgraphType circle box diamond triangle x cross ellipse22syn keyword jgraphType xbar ybar text postscript eps none general23 24syn keyword jgraphType solid dotted dashed longdash dotdash dodotdash25syn keyword jgraphType dotdotdashdash pts26 27"integer number, or floating point number without a dot. - or no -28syn match jgraphNumber "\<-\=\d\+\>"29"floating point number, with dot - or no -30syn match jgraphNumber "\<-\=\d\+\.\d*\>"31"floating point number, starting with a dot - or no -32syn match jgraphNumber "\-\=\.\d\+\>"33 34 35" Define the default highlighting.36" Only when an item doesn't have highlighting yet37 38hi def link jgraphComment Comment39hi def link jgraphCmd Identifier40hi def link jgraphType Type41hi def link jgraphNumber Number42 43 44 45let b:current_syntax = "jgraph"46 