From 5859a5bdff9409aa8ab0d95b9a14b4612bf9bf4c Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 21 Apr 2013 17:31:37 +0100 Subject: [PATCH] ruby/rubocop: bugfix --- syntax_checkers/ruby/rubocop.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/ruby/rubocop.vim b/syntax_checkers/ruby/rubocop.vim index 7ba7b7e6..9570c4a7 100644 --- a/syntax_checkers/ruby/rubocop.vim +++ b/syntax_checkers/ruby/rubocop.vim @@ -39,7 +39,7 @@ function! SyntaxCheckers_ruby_rubocop_GetLocList() for n in range(len(loclist)) if loclist[n]['type'] == 'F' let loclist[n]['type'] = 'E' - elseif loclist[n]['type'] != 'W' || loclist[n]['type'] != 'E' + elseif loclist[n]['type'] != 'W' && loclist[n]['type'] != 'E' let loclist[n]['type'] = 'W' endif endfor