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.*')
|
\ '\m^\(unrecognized %option\|bad <start condition>\|bad character\( class expression\)\=\): \zs.*')
|
||||||
if term == ''
|
if term == ''
|
||||||
let term = matchstr(a:item['text'],
|
let term = matchstr(a:item['text'],
|
||||||
\ '\m^\(Definition value for\|undefined definition\) {\zs[^}]\+\ze}')
|
\ '\m^\(Definition value for\|undefined definition\) \zs{[^}]\+}\ze')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
return term != '' ? '\V' . term : ''
|
return term != '' ? '\V' . term : ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user