blob: 93079ce61d53735a0061a76fad3b5d2c9b182cfd [file] [log] [blame]
Bram Moolenaarc0514bf2016-11-17 14:50:09 +01001" Vim compiler file
2" Compiler: Pylint for Python
3" Maintainer: Daniel Moch <daniel@danielmoch.com>
4" Last Change: 2016 May 20
5
6if exists("current_compiler")
7 finish
8endif
9let current_compiler = "pylint"
10
11if exists(":CompilerSet") != 2 " older Vim always used :setlocal
12 command -nargs=* CompilerSet setlocal <args>
13endif
14
15CompilerSet makeprg=pylint\ --output-format=text\ --msg-template=\"{path}:{line}:{column}:{C}:\ [{symbol}]\ {msg}\"\ --reports=no
16CompilerSet errorformat=%A%f:%l:%c:%t:\ %m,%A%f:%l:\ %m,%A%f:(%l):\ %m,%-Z%p^%.%#,%-G%.%#