From 2fee056f1d3ba41d9cfc090084819c4a6b5e16ca Mon Sep 17 00:00:00 2001 From: saghul Date: Wed, 6 Jun 2012 09:08:44 +0200 Subject: [PATCH] Added ability to specify the path to the flake8 command --- ftplugin/python_flake8.vim | 3 +++ 1 file changed, 3 insertions(+) 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") -- 2.39.5