summaryrefslogtreecommitdiff
path: root/runtime/compiler/rst.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/compiler/rst.vim')
-rw-r--r--runtime/compiler/rst.vim33
1 files changed, 33 insertions, 0 deletions
diff --git a/runtime/compiler/rst.vim b/runtime/compiler/rst.vim
new file mode 100644
index 000000000..c9e5be186
--- /dev/null
+++ b/runtime/compiler/rst.vim
@@ -0,0 +1,33 @@
+" Vim compiler file
+" Compiler: reStructuredText Documentation Format
+" Maintainer: Nikolai Weibull <source@pcppopper.org>
+" URL: http://www.pcppopper.org/vim/compiler/pcp/rst/
+" Latest Revision: 2004-05-22
+" arch-tag: ac64a95a-5d45-493d-a9f9-f96fc8568657
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "rst"
+
+if exists(":CompilerSet") != 2 " older Vim always used :setlocal
+ command -nargs=* CompilerSet setlocal <args>
+endif
+
+let s:cpo_save = &cpo
+set cpo-=C
+
+CompilerSet 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,
+ \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
+ \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
+ \%DMaking\ %*\\a\ in\ %f
+
+let &cpo = s:cpo_save
+unlet s:cpo_save
+
+" vim: set sts=2 sw=2: