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
endwhile
return loclist
return sort(loclist, 's:CmpLoclist')
endfunction
function! s:CmpLoclist(a, b)
return a:a['lnum'] - a:b['lnum']
endfunction
call g:SyntasticRegistry.CreateAndRegisterChecker({