X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/b3fd59ea03896afdccc9d1db2314ca0639e5cff2..339a0a426596d99e18eb355028e19501bb1dc942:/ftplugin/python_flake8.vim?ds=sidebyside 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