]> 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:

Ensure b:showing_message is always defined.
authorbot-boi <bot-boi@gmail.com>
Sun, 28 Mar 2021 00:56:04 +0000 (20:56 -0400)
committerbot-boi <bot-boi@gmail.com>
Sun, 28 Mar 2021 00:56:04 +0000 (20:56 -0400)
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
-