aboutsummaryrefslogtreecommitdiff
path: root/runtime/compiler/rst.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-11-07 02:49:08 +0100
committerGitHub <noreply@github.com>2017-11-07 02:49:08 +0100
commitad527392abb60e19954d5e8dba05af282d67d15b (patch)
tree5a8ad20c8cc49b37593e8f1089420446b731b0d0 /runtime/compiler/rst.vim
parentdc9290109481e5e0d0c224fecb217ceb5a4c978d (diff)
parent20e317e22abeef20891eb70a18435559f7b09212 (diff)
downloadrneovim-ad527392abb60e19954d5e8dba05af282d67d15b.tar.gz
rneovim-ad527392abb60e19954d5e8dba05af282d67d15b.tar.bz2
rneovim-ad527392abb60e19954d5e8dba05af282d67d15b.zip
Merge #7499 'vim-patch: runtime'
Diffstat (limited to 'runtime/compiler/rst.vim')
-rw-r--r--runtime/compiler/rst.vim23
1 files changed, 15 insertions, 8 deletions
diff --git a/runtime/compiler/rst.vim b/runtime/compiler/rst.vim
index c34bd3ba81..392bea6ae0 100644
--- a/runtime/compiler/rst.vim
+++ b/runtime/compiler/rst.vim
@@ -1,7 +1,8 @@
" Vim compiler file
-" Compiler: reStructuredText Documentation Format
+" Compiler: sphinx >= 1.0.8, http://www.sphinx-doc.org
+" Description: reStructuredText Documentation Format
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
-" Latest Revision: 2006-04-19
+" Latest Revision: 2017-03-31
if exists("current_compiler")
finish
@@ -11,12 +12,18 @@ let current_compiler = "rst"
let s:cpo_save = &cpo
set cpo&vim
-setlocal errorformat=
- \%f:%l:\ (%tEBUG/0)\ %m,
- \%f:%l:\ (%tNFO/1)\ %m,
- \%f:%l:\ (%tARNING/2)\ %m,
- \%f:%l:\ (%tRROR/3)\ %m,
- \%f:%l:\ (%tEVERE/3)\ %m,
+if exists(":CompilerSet") != 2
+ command -nargs=* CompilerSet setlocal <args>
+endif
+
+CompilerSet errorformat=
+ \%f\\:%l:\ %tEBUG:\ %m,
+ \%f\\:%l:\ %tNFO:\ %m,
+ \%f\\:%l:\ %tARNING:\ %m,
+ \%f\\:%l:\ %tRROR:\ %m,
+ \%f\\:%l:\ %tEVERE:\ %m,
+ \%f\\:%s:\ %tARNING:\ %m,
+ \%f\\:%s:\ %tRROR:\ %m,
\%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
\%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
\%DMaking\ %*\\a\ in\ %f