Minor fix: highlighting for flex.
This commit is contained in:
parent
7e8c120d49
commit
f187c3b50b
@ -23,7 +23,7 @@ function! SyntaxCheckers_lex_flex_GetHighlightRegex(item)
|
||||
\ '\m^\(unrecognized %option\|bad <start condition>\|bad character\( class expression\)\=\): \zs.*')
|
||||
if term == ''
|
||||
let term = matchstr(a:item['text'],
|
||||
\ '\m^\(Definition value for\|undefined definition\) {\zs[^}]\+\ze}')
|
||||
\ '\m^\(Definition value for\|undefined definition\) \zs{[^}]\+}\ze')
|
||||
endif
|
||||
|
||||
return term != '' ? '\V' . term : ''
|
||||
|
Loading…
Reference in New Issue
Block a user