Off by one error, sorry. :(
This commit is contained in:
parent
b53072bee0
commit
f5dc5b1ad4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user