Imported Upstream version 8.0.586
[platform/upstream/vim.git] / runtime / compiler / rst.vim
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
7 if exists("current_compiler")
8   finish
9 endif
10 let current_compiler = "rst"
11
12 let s:cpo_save = &cpo
13 set cpo&vim
14
15 if exists(":CompilerSet") != 2
16   command -nargs=* CompilerSet setlocal <args>
17 endif
18
19 CompilerSet errorformat=
20       \%f\\:%l:\ %tEBUG:\ %m,
21       \%f\\:%l:\ %tNFO:\ %m,
22       \%f\\:%l:\ %tARNING:\ %m,
23       \%f\\:%l:\ %tRROR:\ %m,
24       \%f\\:%l:\ %tEVERE:\ %m,
25       \%f\\:%s:\ %tARNING:\ %m,
26       \%f\\:%s:\ %tRROR:\ %m,
27       \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
28       \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
29       \%DMaking\ %*\\a\ in\ %f
30
31 let &cpo = s:cpo_save
32 unlet s:cpo_save