ruby/rubocop: bugfix

This commit is contained in:
Martin Grenfell 2013-04-21 17:31:37 +01:00
parent 0d2909390c
commit 5859a5bdff

View File

@ -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