" Language: C " Description: Additional C syntax file. " Don't syntax highlight text after #warning or #error syn region cPreProc start="^\s*\zs\(%:\|#\)\s*\(warning\>\|warn\>\|error\>\)" skip="\\$" end="$" keepend if !exists('c_no_function') && !exists('cpp_no_function') " Match function expressions: expr() " ^^^^ syn match cFunction '\h\w*\ze\s*(' display hi default link cFunction Function endif if !exists('c_no_delimiters') && !exists('cpp_no_delimiters') " Match delimiter expressions: (expr) {expr} ; " ^ ^ ^ ^ ^ syn match cDelimiter '[()\[\];:]' display " Match curly braces with cDelimiter highlight group syn region cBlock matchgroup=cDelimiter start="{" end="}" transparent fold hi link cUserCont Delimiter hi default link cDelimiter cUserCont endif if !exists('c_no_operators') && !exists('cpp_no_operators') " Match: * - . ^ ~ + - , & | ! % ? < > order is important " ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ syn match cOperator '[\*=\.\^\~+\-,&|!%?><]' display " Match: / don't override // or /* or */ " ^ syn match cOperator '[\*\/]\@