X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/bba759149f1c4494c8751a268994d2926c9591a7..719cc31e2d07021906cc6471b7d7b1863d2b6acf:/autoload/flake8.vim?ds=sidebyside

diff --git a/autoload/flake8.vim b/autoload/flake8.vim
index 180bcad..15d061e 100644
--- a/autoload/flake8.vim
+++ b/autoload/flake8.vim
@@ -273,6 +273,10 @@ function! s:ShowErrorMessage()  " {{{
     if !exists('s:resultDict')
 	return
     endif
+    if !exists('b:showing_message')
+	" ensure showing msg is always defined
+	let b:showing_message = ' '
+    endif
 
     " if there is a message on the current line,
     " then echo it 
@@ -295,4 +299,3 @@ endfunction  " }}}
 
 let &cpo = s:save_cpo
 unlet s:save_cpo
-