From 54bb9b4b8b6dacb94a53cbfe26047f5eb0286a24 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Mon, 21 Apr 2014 08:41:44 +0300 Subject: [PATCH] haxe and dartanalyzer: fix syntax highlighting. --- plugin/syntastic.vim | 2 +- syntax_checkers/dart/dartanalyzer.vim | 2 +- syntax_checkers/haxe/haxe.vim | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index c21cbc22..67f46c3b 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -18,7 +18,7 @@ if has('reltime') let g:syntastic_start = reltime() endif -let g:syntastic_version = '3.4.0-37' +let g:syntastic_version = '3.4.0-39' " Sanity checks {{{1 diff --git a/syntax_checkers/dart/dartanalyzer.vim b/syntax_checkers/dart/dartanalyzer.vim index edf71df3..9ff55a4a 100644 --- a/syntax_checkers/dart/dartanalyzer.vim +++ b/syntax_checkers/dart/dartanalyzer.vim @@ -21,7 +21,7 @@ function! SyntaxCheckers_dart_dartanalyzer_GetHighlightRegex(error) if a:error['len'] let lcol = a:error['col'] - 1 let rcol = a:error['col'] + a:error['len'] - let ret = '\%>' . lcol . 'c\%<' . rcol . 'c' + let ret = '\%>' . lcol . 'c.*\%<' . rcol . 'c' else let ret = '' endif diff --git a/syntax_checkers/haxe/haxe.vim b/syntax_checkers/haxe/haxe.vim index 90589420..fd2385f9 100644 --- a/syntax_checkers/haxe/haxe.vim +++ b/syntax_checkers/haxe/haxe.vim @@ -40,7 +40,7 @@ function! SyntaxCheckers_haxe_haxe_GetLocList() dict \ 'cwd': fnamemodify(hxml, ':h') }) for e in loclist - let e['hl'] = '\%>' . e['col'] . 'c\%<' . (e['nr'] + 1) . 'c' + let e['hl'] = '\%>' . e['col'] . 'c.*\%<' . (e['nr'] + 1) . 'c' let e['col'] += 1 let e['nr'] = 0 endfor