From f187c3b50b72ec8a8b60f01e8cd0d41a9b890260 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Mon, 2 Dec 2013 16:13:46 +0200 Subject: [PATCH] Minor fix: highlighting for flex. --- syntax_checkers/lex/flex.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/lex/flex.vim b/syntax_checkers/lex/flex.vim index 87a3120b..971068f8 100644 --- a/syntax_checkers/lex/flex.vim +++ b/syntax_checkers/lex/flex.vim @@ -23,7 +23,7 @@ function! SyntaxCheckers_lex_flex_GetHighlightRegex(item) \ '\m^\(unrecognized %option\|bad \|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 : ''