GIF89a; EcchiShell v1.0
//usr/share/vim/vim74/syntax/

\@]" " ---------------------- END LIST OF ALL FUNCTIONS (EXCEPT KEYWORDS) ---------------------- syn case match " Labels (supports maxima's goto) syn match maximaLabel "^\s*<[a-zA-Z_][a-zA-Z0-9%_]*>" " String and Character constants " Highlight special characters (those which have a backslash) differently syn match maximaSpecial contained "\\\d\d\d\|\\." syn region maximaString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=maximaSpecial syn match maximaCharacter "'[^\\]'" syn match maximaSpecialChar "'\\.'" " number with no fractional part or exponent syn match maximaNumber /\<\d\+\>/ " floating point number with integer and fractional parts and optional exponent syn match maximaFloat /\<\d\+\.\d*\([BbDdEeSs][-+]\=\d\+\)\=\>/ " floating point number with no integer part and optional exponent syn match maximaFloat /\<\.\d\+\([BbDdEeSs][-+]\=\d\+\)\=\>/ " floating point number with no fractional part and optional exponent syn match maximaFloat /\<\d\+[BbDdEeSs][-+]\=\d\+\>/ " Comments: " maxima supports /* ... */ (like C) syn keyword maximaTodo contained TODO Todo DEBUG syn region maximaCommentBlock start="/\*" end="\*/" contains=maximaString,maximaTodo,maximaCommentBlock " synchronizing syn sync match maximaSyncComment grouphere maximaCommentBlock "/*" syn sync match maximaSyncComment groupthere NONE "*/" " Define the default highlighting. " For version 5.7 and earlier: only when not done already " For version 5.8 and later: only when an item doesn't have highlighting yet if version >= 508 || !exists("did_maxima_syntax_inits") if version < 508 let did_maxima_syntax_inits = 1 command -nargs=+ HiLink hi link else command -nargs=+ HiLink hi def link endif HiLink maximaBraceError maximaError HiLink maximaCmd maximaStatement HiLink maximaCurlyError maximaError HiLink maximaFuncCmd maximaStatement HiLink maximaParenError maximaError " The default methods for highlighting. Can be overridden later HiLink maximaCharacter Character HiLink maximaComma Function HiLink maximaCommentBlock Comment HiLink maximaConditional Conditional HiLink maximaError Error HiLink maximaFunc Delimiter HiLink maximaOp Delimiter HiLink maximaLabel PreProc HiLink maximaNumber Number HiLink maximaFloat Float HiLink maximaRepeat Repeat HiLink maximaSpecial Type HiLink maximaSpecialChar SpecialChar HiLink maximaStatement Statement HiLink maximaString String HiLink maximaTodo Todo delcommand HiLink endif let b:current_syntax = "maxima"