Don't syntax highlight text after #{warning,error}
This commit is contained in:
parent
7af8660355
commit
e2e2be6e44
@ -1,6 +1,9 @@
|
||||
" 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()
|
||||
" ^^^^
|
||||
|
Loading…
x
Reference in New Issue
Block a user