X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/c7cd8a4be43b26e91ce7a27954f5300910657fe2..c7838f1a6cef3f7504be8c2891fedf2f5ba5daa8:/autoload/flake8.vim?ds=inline diff --git a/autoload/flake8.vim b/autoload/flake8.vim index 157a717..6b220f2 100644 --- a/autoload/flake8.vim +++ b/autoload/flake8.vim @@ -31,7 +31,7 @@ endfunction "" warnings let s:displayed_warnings = 0 -function! s:Warnings() +function s:Warnings() if !s:displayed_warnings let l:show_website_url = 0 @@ -170,7 +170,7 @@ function! s:Flake8() " {{{ let l:has_results=results != [] if l:has_results " save line number of each error message - for result in a:results: + for result in l:results: s:resultDict[result.lnum] = result.text " markers