" C, V?C++, etc. syntax. syn clear MiscChar Comment Error PreProc syn match MiscChar "[^_a-zA-Z0-9{}() ]" syn region PreProc start=/^\s*#\%(include\|define\|ifn\?def\|endif\)\>/ end=/$/ syn match Comment "^\s*//.*" syn region CommentMult start=+^\s*/\*+ end=+\*/+ syn keyword TypeChar char string syn keyword TypeBool bool true false syn keyword TypeNum short byte long int enum float double syn match TypeNum "\<\%(\%(un\)\?signed\|size_t\%(ype\)\?\)\>" syn keyword TypeMisc class struct list vector syn keyword TypeMisc ios void typedef const static extern syn match TypeStream "\<\%(\%([io]f\|string\)stream\)\>" syn match Cast_Type /<[a-zA-Z:, ]\+>/ syn keyword Misc using syn keyword Scope namespace std syn keyword Repeat do for while break continue syn keyword Condition if else switch case syn match Error "\<\%(try\|catch\|exit\|EXIT_\%(SUCCESS\|FAILURE\)\|[a-zA-Z][_a-zA-Z0-9]\+_throw\)\>" syn keyword FlowControl return syn match Function /\c\<[a-z_]\+[a-z0-9_]\+\s*(\@=/ so $vim_cf/quoted.syn let b:current_syntax = "c"