From f5dc5b1ad4597634c843780fce8488d679573171 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Wed, 6 Feb 2013 15:48:58 +0200 Subject: [PATCH] Off by one error, sorry. :( --- syntax_checkers/python/pylint.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/python/pylint.vim b/syntax_checkers/python/pylint.vim index d011984d..1280ff1d 100644 --- a/syntax_checkers/python/pylint.vim +++ b/syntax_checkers/python/pylint.vim @@ -19,7 +19,7 @@ function! SyntaxCheckers_python_pylint_GetLocList() let n = len(loclist) - 1 while n >= 0 - let loclist[n]['type'] = match(['R', 'C', 'W'], loclist[n]['text'][2]) > 0 ? 'W' : 'E' + let loclist[n]['type'] = match(['R', 'C', 'W'], loclist[n]['text'][2]) >= 0 ? 'W' : 'E' let n -= 1 endwhile