" Language: C " Description: Additional C syntax file. " Author: Kenneth Benzie (Benie) " Last Modified: September 04, 2016 if !exists('c_no_function') " Match function expressions: expr() " ^^^^ syn match cFunction '\a\w*\ze\s*(' display hi default link cFunction Function endif if !exists('c_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') " Match: * - . ^ ~ + - , & | ! % ? < > order is important " ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ syn match cOperator '[\*=\.\^\~+\-,&|!%?><]' display " Match: / don't override // or /* or */ " ^ syn match cOperator '[\*\/]\@