From c7838f1a6cef3f7504be8c2891fedf2f5ba5daa8 Mon Sep 17 00:00:00 2001 From: Rahul Date: Fri, 27 Mar 2020 17:30:09 +0530 Subject: [PATCH] [WIP] Minor fixes --- autoload/flake8.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5