From: Rahul Date: Fri, 27 Mar 2020 12:00:09 +0000 (+0530) Subject: [WIP] Minor fixes X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/c7838f1a6cef3f7504be8c2891fedf2f5ba5daa8?hp=-c [WIP] Minor fixes --- c7838f1a6cef3f7504be8c2891fedf2f5ba5daa8 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