Fix C ternary operator match
This commit is contained in:
parent
5076be4792
commit
a97e9a4589
@ -32,7 +32,7 @@ if !exists('c_no_operators')
|
||||
|
||||
" Match: (expr) ? true : false;
|
||||
" ^ ^
|
||||
syn region cOperatorTernary matchgroup=cOperator start='?' end=':' transparent display
|
||||
syn region cOperatorTernary matchgroup=cOperator start='?' end='::\@!' transparent display
|
||||
endif
|
||||
|
||||
let g:c_doxygen = get(g:, 'c_doxygen', 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user