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