" Vim syntax file " Language: mental images .mi scene " Maintainer: David Wolever " URL: http://bitbucket.org/wolever/dotfiles/src/tip/vim/syntax/mi.vim if !exists("main_syntax") let main_syntax = 'mi' endif syn match miComment "#.*" syn region miString start=+"+ skip=+\\\\\|\\"+ end=+"+ syn keyword miBool on off true false syn match miCommand "\$[a-zA-Z]\+.*" contains=miString,miIncludeFile syn region miIncludeFile start="<" end=">" contained syn match miID "[a-zA-Z_-][^ ]*" syn match miNumber "-\?\([0-9]\+\.\)\?[0-9]\+\([eE]-\?[0-9]\+\)\?" syn keyword miToken acceleration accuracy adaptive all alpha angle any syn keyword miToken aperture apply approximate array aspect autovolume b syn keyword miToken back basis bezier bias blue boolean border both box bsdf syn keyword miToken bsp bspline buffer bump call camera cardinal caustic syn keyword miToken ccmesh cg child classification clip code collect color syn keyword miToken colorclip colorprofile compress cone syn keyword miToken conic connect constant contour contrast control corner syn keyword miToken cp crease curvature curve cusp cylinder d d2 dart data syn keyword miToken debug declare default degree delaunay delete density syn keyword miToken depth derivative desaturate detail diagnostic direction syn keyword miToken disc displace distance dither dod dof dpi echo emitter syn keyword miToken end environment even energy eulumdat exponent face syn keyword miToken falloff fan fast fastlookup field file filter syn keyword miToken finalgather fine flags focal force format fragment frame syn keyword miToken freeze front gamma gauss geometry globillum grading syn keyword miToken green grid group gui hair hardware hermite hide hole ies syn keyword miToken imp implicit incremental infinity inheritance instance syn keyword miToken instgroup integer interface irradiance jitter lanczos syn keyword miToken large length lens level light lightmap lightprofile link syn keyword miToken local luminance m mapsto mask material matrix max syn keyword miToken memory merge mi min mitchell mixed motion n namespace syn keyword miToken native nocontour nosmoothing normal null ntsc object syn keyword miToken odd offset offscreen only opaque opengl options syn keyword miToken origin output override p parallel parametric pass syn keyword miToken phenomenon photon photonmap photons photonvol polygon syn keyword miToken position premultiply prep presample priority private syn keyword miToken protocol quality radius rapid rational ray raycl raw syn keyword miToken read rebuild rectangle recursive red reflection syn keyword miToken refraction registry regular render resolution rgb root syn keyword miToken samplelock samples scale scalar scanline segments select syn keyword miToken session set shader shading shadow shadowmap sharp syn keyword miToken shutter size softness sort space spatial spdl special syn keyword miToken spectrum sphere spread state steps store string strip syn keyword miToken struct subdivision surface system t tag tagged task syn keyword miToken taylor texture time trace transform traversal topology syn keyword miToken touch transparency tree triangle trilist trim u syn keyword miToken uniform user v value vector vendor verbose version syn keyword miToken vertex view visible volume w weight white width window syn keyword miToken world writable if version >= 508 || !exists("did_mi_syntax_inits") if version < 508 let did_mi_syntax_inits = 1 command -nargs=+ HiLink hi link else command -nargs=+ HiLink hi def link endif HiLink miToken Statement HiLink miID NONE HiLink miComment Comment HiLink miString String HiLink miBool Boolean HiLink miCommand PreProc HiLink miIncludeFile String HiLink miNumber Number delcommand HiLink endif let b:current_syntax = 'mi' if main_syntax == 'mi' unlet main_syntax endif