codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: sinda85, sinda/fluint output file3" Maintainer: Adrian Nagle, anagle@ball.com4" Last Change: 2003 May 115" Filenames: *.out6" URL: http://www.naglenet.org/vim/syntax/sindaout.vim7" MAIN URL: http://www.naglenet.org/vim/8 9 10 11" quit when a syntax file was already loaded12if exists("b:current_syntax")13 finish14endif15 16 17 18" Ignore case19syn case match20 21 22 23" Load SINDA syntax file24runtime! syntax/sinda.vim25unlet b:current_syntax26 27 28 29"30"31" Begin syntax definitions for sinda output files.32"33 34" Define keywords for sinda output35syn case match36 37syn keyword sindaoutPos ON SI38syn keyword sindaoutNeg OFF ENG39 40 41 42" Define matches for sinda output43syn match sindaoutFile ": \w*\.TAK"hs=s+244 45syn match sindaoutInteger "T\=[0-9]*\>"ms=s+146 47syn match sindaoutSectionDelim "[-<>]\{4,}" contains=sindaoutSectionTitle48syn match sindaoutSectionDelim ":\=\.\{4,}:\=" contains=sindaoutSectionTitle49syn match sindaoutSectionTitle "[-<:] \w[0-9A-Za-z_() ]\+ [->:]"hs=s+1,me=e-150 51syn match sindaoutHeaderDelim "=\{5,}"52syn match sindaoutHeaderDelim "|\{5,}"53syn match sindaoutHeaderDelim "+\{5,}"54 55syn match sindaoutLabel "Input File:" contains=sindaoutFile56syn match sindaoutLabel "Begin Solution: Routine"57 58syn match sindaoutError "<<< Error >>>"59 60 61" Define the default highlighting62" Only when an item doesn't have highlighting yet63 64hi sindaHeaderDelim ctermfg=Black ctermbg=Green guifg=Black guibg=Green65 66hi def link sindaoutPos Statement67hi def link sindaoutNeg PreProc68hi def link sindaoutTitle Type69hi def link sindaoutFile sindaIncludeFile70hi def link sindaoutInteger sindaInteger71 72hi def link sindaoutSectionDelim Delimiter73hi def link sindaoutSectionTitle Exception74hi def link sindaoutHeaderDelim SpecialComment75hi def link sindaoutLabel Identifier76 77hi def link sindaoutError Error78 79 80 81let b:current_syntax = "sindaout"82 83" vim: ts=8 sw=284 