]> git.madduck.net Git - etc/vim.git/blobdiff - autoload/flake8.vim

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
[etc/vim.git] / autoload / flake8.vim
index 13fe7687bb3054b0560f167e31a43b8ad69c9ea9..15d061efee31d9eac5e11e68be273a594debcf16 100644 (file)
@@ -199,10 +199,6 @@ function! s:Flake8()  " {{{
 endfunction  " }}}
 
 
-function! s:MakeMap(results)  " {{{
-    for result in a:results
-    endfor
-endfunction  " }}}
 
 "" markers
 function! s:PlaceMarkers(results)  " {{{
@@ -277,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 
@@ -299,4 +299,3 @@ endfunction  " }}}
 
 let &cpo = s:save_cpo
 unlet s:save_cpo
-