Merge pull request #491 from lcd047/master

Pylint output should be sorted
This commit is contained in:
Martin Grenfell 2013-02-06 06:32:42 -08:00
commit 6cf4581d57

View File

@ -23,7 +23,11 @@ function! SyntaxCheckers_python_pylint_GetLocList()
let n -= 1 let n -= 1
endwhile endwhile
return loclist return sort(loclist, 's:CmpLoclist')
endfunction
function! s:CmpLoclist(a, b)
return a:a['lnum'] - a:b['lnum']
endfunction endfunction
call g:SyntasticRegistry.CreateAndRegisterChecker({ call g:SyntasticRegistry.CreateAndRegisterChecker({