From: Vincent Driessen Date: Mon, 29 Mar 2021 12:31:55 +0000 (+0200) Subject: Merge pull request #92 from bot-boi/master X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/719cc31e2d07021906cc6471b7d7b1863d2b6acf?hp=0c7cf6dc038223b44e3c0a702fe2acf997768e8a Merge pull request #92 from bot-boi/master Ensure b:showing_message is always defined. --- 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 -