xref: /vim-8.2.3635/runtime/compiler/rst.vim (revision cd5c8f82)
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 <[email protected]>
5" Latest Revision:      2017-03-31
6
7if exists("current_compiler")
8  finish
9endif
10let current_compiler = "rst"
11
12let s:cpo_save = &cpo
13set cpo&vim
14
15if exists(":CompilerSet") != 2
16  command -nargs=* CompilerSet setlocal <args>
17endif
18
19CompilerSet 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
31let &cpo = s:cpo_save
32unlet s:cpo_save
33