pylint.vim 546 B

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