X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/f2e54ee055f9ae8cd77a05cbb61c0339cdef65b6..719cc31e2d07021906cc6471b7d7b1863d2b6acf:/autoload/flake8.vim?ds=inline diff --git a/autoload/flake8.vim b/autoload/flake8.vim index 13fe768..15d061e 100644 --- a/autoload/flake8.vim +++ b/autoload/flake8.vim @@ -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 -