" Vim syntax file " Language: Mup music notation language " Maintainer: Arkkra Enterprises " URL: ftp://www.arkkra.com/pub/unix/user.pgms/mup.vim " Last Change: 19 may 2008 ( Mup 5.5 ) " Quit when a syntax file was already loaded if exists("b:current_syntax") finish endif syn case match syn match Number "[0-9]\.*" syn match Number "1/[24]" syn match Operator "[-+,=:&()#xn!./*<>]" syn match Operator "[][{}]" syn match Function "[~^?]" syn match String "\".*\"" syn match Identifier "[a-z]" syn match Comment "//.*$" syn match Macro "[A-Z][A-Z0-9_]*" syn match Define "@" syn match Type "[\\/]n]" "n[\\/]" highlight MupContext ctermfg=Yellow ctermbg=Blue guifg=Yellow guibg=Blue syn keyword MupContext header header2 footer footer2 bottom bottom2 block music grids score voice staff headshapes symbol syn keyword Type dim diminished aug augmented per perfect min minor maj major syn keyword Type wide medium wavy syn keyword Type tab boxed circled plain pedstar barred grouped top top2 syn keyword Type othertext inches cm syn keyword Type chord analysis figbass dyn syn keyword Type above below between all lyrics multirest ending syn keyword Type bass treble 8treble treble8 alto soprano mezzosoprano tenor baritone drum syn keyword Type cue grace xnote diam dotted dashed syn keyword Type blank diam isostri norm pie rect righttri semicirc slash allslash x allx syn keyword Type 4n 2n 1n dblwhole filldiamond diamond dwhdiamond syn keyword Type fillisostriangle isostriangle dwhisostriangle syn keyword Type fillpiewedge piewedge dwhpiewedge syn keyword Type fillrectangle rectangle dwhrectangle syn keyword Type fillrighttriangle righttriangle dwhrighttriangle syn keyword Type fillurighttriangle urighttriangle dwhurighttriangle syn keyword Type fillsemicircle semicircle dwhsemicircle syn keyword Type fillslashhead slashhead dwhslashhead blankhead syn keyword Type hs syn keyword Function midi rom ital bold boldital syn keyword Function title left center right print nl paragraph ragged justified syn keyword Function newscore newpage syn keyword Function reh rehearsal num let mnum ending endending hidechanges syn keyword Function line curve to bulge syn keyword Function ho tie slur up down len slash alt bm ebm esbm pad syn keyword Function postscript bbox ystemoffset syn keyword Identifier times avantgarde courier helvetica bookman newcentury palatino syn keyword Include include fontfile syn keyword Define ifdef ifndef if then else endif define undef defined syn keyword Delimiter bar invisbar dblbar endbar repeatstart repeatend repeatboth restart syn keyword Delimiter ";" syn keyword Statement pedal mussym phrase til octave roll syn keyword Statement staffs vscheme defoct lyricssize sylposition vcombine syn keyword Statement size staffsep scorepad staffpad chorddist dist dyndist syn keyword Statement division panelsperpage gridfret restcombine restsymmult firstpage syn keyword Statement scoresep stafflines ontheline warn numbermrpt printmultnum syn keyword Statement gridswhereused gridsatend tabwhitebox timeunit syn keyword Statement topmargin bottommargin botmargin leftmargin rightmargin units syn keyword Statement packfact packexp staffscale gridscale scale beamslope slope syn keyword Statement transpose addtranspose lyricsalign pageheight pagewidth pagesize syn keyword Statement endingstyle rehstyle pedstyle release syn keyword Statement brace bracket barstyle aboveorder beloworder betweenorder syn keyword Statement key time beamstyle visible whereused measnum cancelkey label label2 syn keyword Statement measnumfont measnumfontfamily measnumsize syn keyword Statement font fontfamily lyricsfont lyricsfontfamily clef syn keyword Statement noteheads stemlen stemshorten swingunit syn keyword Statement lyricsdist maxscores useaccs carryaccs measnumstyle syn keyword Statement align syn keyword Statement emptymeas withfont withfontfamily withsize let b:current_syntax = "mup"