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