From 02e510eec490d4d429da752fe8de53d9f9110507 Mon Sep 17 00:00:00 2001 From: Lee Packham Date: Thu, 12 Apr 2012 06:48:17 +0100 Subject: [PATCH] Don't shoe horn 'syntax error' everywhere It hides the actual warning/error from Syntastic - so don't do that. --- syntax_checkers/python/flake8.vim | 3 --- 1 file changed, 3 deletions(-) diff --git a/syntax_checkers/python/flake8.vim b/syntax_checkers/python/flake8.vim index e135ef55..497f3595 100644 --- a/syntax_checkers/python/flake8.vim +++ b/syntax_checkers/python/flake8.vim @@ -6,9 +6,6 @@ " "============================================================================ function! SyntaxCheckers_python_GetHighlightRegex(i) - if a:i['type'] ==# 'E' - let a:i['text'] = "Syntax error" - endif if match(a:i['text'], 'is assigned to but never used') > -1 \ || match(a:i['text'], 'imported but unused') > -1 \ || match(a:i['text'], 'undefined name') > -1