rst.vim 851 B

123456789101112131415161718192021222324252627282930
  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. " Last Change: 2017 Mar 31
  6. " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
  7. if exists("current_compiler")
  8. finish
  9. endif
  10. let current_compiler = "rst"
  11. let s:cpo_save = &cpo
  12. set cpo&vim
  13. CompilerSet errorformat=
  14. \%f\\:%l:\ %tEBUG:\ %m,
  15. \%f\\:%l:\ %tNFO:\ %m,
  16. \%f\\:%l:\ %tARNING:\ %m,
  17. \%f\\:%l:\ %tRROR:\ %m,
  18. \%f\\:%l:\ %tEVERE:\ %m,
  19. \%f\\:%s:\ %tARNING:\ %m,
  20. \%f\\:%s:\ %tRROR:\ %m,
  21. \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
  22. \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
  23. \%DMaking\ %*\\a\ in\ %f
  24. let &cpo = s:cpo_save
  25. unlet s:cpo_save