podchecker.vim 848 B

1234567891011121314151617181920212223242526272829
  1. " Vim compiler file
  2. " Compiler: podchecker
  3. " Maintainer: vim-perl <vim-perl@googlegroups.com>
  4. " Author: Doug Kearns <dougkearns@gmail.com>
  5. " Homepage: https://github.com/vim-perl/vim-perl
  6. " Bugs/requests: https://github.com/vim-perl/vim-perl/issues
  7. " License: Vim License (see :help license)
  8. " Last Change: 2021 Oct 20
  9. if exists("current_compiler")
  10. finish
  11. endif
  12. let current_compiler = "podchecker"
  13. if exists(":CompilerSet") != 2 " older Vim always used :setlocal
  14. command -nargs=* CompilerSet setlocal <args>
  15. endif
  16. let s:cpo_save = &cpo
  17. set cpo&vim
  18. CompilerSet makeprg=podchecker\ -w
  19. CompilerSet errorformat=\*\*\*\ %tRROR:\ %m\ at\ line\ %l\ in\ file\ %f,
  20. \\*\*\*\ %tARNING:\ %m\ at\ line\ %l\ in\ file\ %f,
  21. \%-G%.%#
  22. let &cpo = s:cpo_save
  23. unlet s:cpo_save