X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/b3fd59ea03896afdccc9d1db2314ca0639e5cff2..c7838f1a6cef3f7504be8c2891fedf2f5ba5daa8:/ftplugin/python_flake8.vim 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