From: eistaa Date: Thu, 18 Sep 2014 07:52:54 +0000 (+0200) Subject: Cleanup. X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/c92a2e54e2dd35e7127ae4939fbbfee50027da3a?hp=--cc Cleanup. --- c92a2e54e2dd35e7127ae4939fbbfee50027da3a diff --git a/README.mdown b/README.mdown index e6d0f10..5b83c99 100644 --- a/README.mdown +++ b/README.mdown @@ -119,7 +119,7 @@ This plugin goes well together with the following plugin: History ------- -1.4: Added markers and the option to don't show the quickfix window, also split functions into +1.5: Added markers and the option to don't show the quickfix window, also split functions into a autoload file. Added: - Options: @@ -142,6 +142,8 @@ a autoload file. Added: - `Flake8_Naming` - `Flake8_PyFlake` +1.4: Suppress output to stdout. + 1.3: Added the following options: - `g:flake8_builtins="_,apply"` diff --git a/autoload/flake8.vim b/autoload/flake8.vim index 7ef2373..6aee19c 100644 --- a/autoload/flake8.vim +++ b/autoload/flake8.vim @@ -203,7 +203,6 @@ function! s:PlaceMarkers(results) " {{{ let l:index += 1 endif endfor - redraw endfunction " }}} function! s:UnplaceMarkers() " {{{ diff --git a/ftplugin/python_flake8.vim b/ftplugin/python_flake8.vim index c4655bc..dd062d9 100644 --- a/ftplugin/python_flake8.vim +++ b/ftplugin/python_flake8.vim @@ -45,7 +45,7 @@ endfunction " The default mapping is registered under to by default, unless the user " remapped it already (or a mapping exists already for ) if !exists("no_plugin_maps") && !exists("no_flake8_maps") - if !hasmapto('Flake8(') + if !hasmapto('Flake8(') && !hasmapto('flake8#Flake8(') noremap :call flake8#Flake8() endif endif