rst.vim 846 B

123456789101112131415161718192021222324252627282930313233
  1. " Vim compiler file
  2. " Compiler: sphinx >= 1.0.8, http://www.sphinx-doc.org
  3. " Description: reStructuredText Documentation Format
  4. " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
  5. " Latest Revision: 2017-03-31
  6. if exists("current_compiler")
  7. finish
  8. endif
  9. let current_compiler = "rst"
  10. let s:cpo_save = &cpo
  11. set cpo&vim
  12. if exists(":CompilerSet") != 2
  13. command -nargs=* CompilerSet setlocal <args>
  14. endif
  15. CompilerSet errorformat=
  16. \%f\\:%l:\ %tEBUG:\ %m,
  17. \%f\\:%l:\ %tNFO:\ %m,
  18. \%f\\:%l:\ %tARNING:\ %m,
  19. \%f\\:%l:\ %tRROR:\ %m,
  20. \%f\\:%l:\ %tEVERE:\ %m,
  21. \%f\\:%s:\ %tARNING:\ %m,
  22. \%f\\:%s:\ %tRROR:\ %m,
  23. \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
  24. \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
  25. \%DMaking\ %*\\a\ in\ %f
  26. let &cpo = s:cpo_save
  27. unlet s:cpo_save