aboutsummaryrefslogtreecommitdiff
path: root/vim/compiler/pyflakes.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/compiler/pyflakes.vim')
-rw-r--r--vim/compiler/pyflakes.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/vim/compiler/pyflakes.vim b/vim/compiler/pyflakes.vim
new file mode 100644
index 00000000..727fbd76
--- /dev/null
+++ b/vim/compiler/pyflakes.vim
@@ -0,0 +1,9 @@
+" :compiler support for Python syntax checking with pyflakes
+" <https://pypi.org/project/pyflakes/>
+if exists('current_compiler') || &compatible || !has('patch-7.4.191')
+ finish
+endif
+let current_compiler = 'pyflakes'
+
+CompilerSet makeprg=pyflakes\ %:S
+CompilerSet errorformat=%f:%l:%c:\ %m