From a01d96524fbfd433f2bbaeb8fab2a0a20fb9fc22 Mon Sep 17 00:00:00 2001 From: Thomas Lindner Date: Fri, 30 Oct 2015 14:55:53 +0100 Subject: [PATCH] add flake8 support --- .gitmodules | 3 +++ bundle/vim-flake8 | 1 + vimrc | 2 ++ 3 files changed, 6 insertions(+) create mode 160000 bundle/vim-flake8 diff --git a/.gitmodules b/.gitmodules index f139983..9fd5ae7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "bundle/vim-fish"] path = bundle/vim-fish url = https://github.com/dag/vim-fish +[submodule "bundle/vim-flake8"] + path = bundle/vim-flake8 + url = https://github.com/nvie/vim-flake8 diff --git a/bundle/vim-flake8 b/bundle/vim-flake8 new file mode 160000 index 0000000..21bc78d --- /dev/null +++ b/bundle/vim-flake8 @@ -0,0 +1 @@ +Subproject commit 21bc78d9a3a17653dd5ea1f6a6c92445d23b215b diff --git a/vimrc b/vimrc index c727460..4bd296f 100644 --- a/vimrc +++ b/vimrc @@ -3,3 +3,5 @@ set shell=/bin/sh runtime bundle/vim-pathogen/autoload/pathogen.vim execute pathogen#infect() + +autocmd BufWritePost *.py call Flake8()