]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Added ability to specify the path to the flake8 command
authorsaghul <saghul@gmail.com>
Wed, 6 Jun 2012 07:08:44 +0000 (09:08 +0200)
committersaghul <saghul@gmail.com>
Wed, 6 Jun 2012 07:08:44 +0000 (09:08 +0200)
ftplugin/python_flake8.vim

index d1ece6162e3d964bcdeba7f2c2fda0ff1dba86ec..726a30afc32139b955ff732c5b47cdc4152ffdf7 100644 (file)
@@ -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")