]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge pull request #92 from bot-boi/master
authorVincent Driessen <me@nvie.com>
Mon, 29 Mar 2021 12:31:55 +0000 (14:31 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Mar 2021 12:31:55 +0000 (14:31 +0200)
Ensure b:showing_message is always defined.

autoload/flake8.vim

index 180bcadb920c24e3fd4855f61bd5b5adb6fb0572..15d061efee31d9eac5e11e68be273a594debcf16 100644 (file)
@@ -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
-