codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: Mailcap configuration file3" Maintainer: Doug Kearns <dougkearns@gmail.com>4" Last Change: 2013 Jun 015 6if exists("b:current_syntax")7 finish8endif9 10syn match mailcapComment "^#.*"11 12syn region mailcapString start=+"+ end=+"+ contains=mailcapSpecial oneline13 14syn match mailcapDelimiter "\\\@<!;"15 16syn match mailcapSpecial "\\\@<!%[nstF]"17syn match mailcapSpecial "\\\@<!%{[^}]*}"18 19syn case ignore20syn match mailcapFlag "\(=\s*\)\@<!\<\(needsterminal\|copiousoutput\|x-\w\+\)\>"21syn match mailcapFieldname "\<\(compose\|composetyped\|print\|edit\|test\|x11-bitmap\|nametemplate\|textualnewlines\|description\|x-\w+\)\>\ze\s*="22syn match mailcapTypeField "^\(text\|image\|audio\|video\|application\|message\|multipart\|model\|x-[[:graph:]]\+\)\(/\(\*\|[[:graph:]]\+\)\)\=\ze\s*;"23syn case match24 25hi def link mailcapComment Comment26hi def link mailcapDelimiter Delimiter27hi def link mailcapFlag Statement28hi def link mailcapFieldname Statement29hi def link mailcapSpecial Identifier30hi def link mailcapTypeField Type31hi def link mailcapString String32 33let b:current_syntax = "mailcap"34 35" vim: ts=836 