From: saghul Date: Wed, 6 Jun 2012 07:08:44 +0000 (+0200) Subject: Added ability to specify the path to the flake8 command X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/2fee056f1d3ba41d9cfc090084819c4a6b5e16ca?ds=sidebyside;hp=-c Added ability to specify the path to the flake8 command --- 2fee056f1d3ba41d9cfc090084819c4a6b5e16ca diff --git a/ftplugin/python_flake8.vim b/ftplugin/python_flake8.vim index d1ece61..726a30a 100644 --- a/ftplugin/python_flake8.vim +++ b/ftplugin/python_flake8.vim @@ -12,6 +12,9 @@ endif let b:loaded_flake8_ftplugin=1 let s:flake8_cmd="flake8" +if exists("g:flake8_cmd") + let s:flake8_cmd=g:flake8_cmd +endif let s:flake8_ignores="" if exists("g:flake8_ignore")