summaryrefslogtreecommitdiff
path: root/uvim/runtime/compiler/vimdoc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'uvim/runtime/compiler/vimdoc.vim')
-rw-r--r--uvim/runtime/compiler/vimdoc.vim23
1 files changed, 23 insertions, 0 deletions
diff --git a/uvim/runtime/compiler/vimdoc.vim b/uvim/runtime/compiler/vimdoc.vim
new file mode 100644
index 0000000000..ca34f105e4
--- /dev/null
+++ b/uvim/runtime/compiler/vimdoc.vim
@@ -0,0 +1,23 @@
+" Vim Compiler File
+" Language: vimdoc
+" Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
+" Latest Revision: 2024-04-13
+" Last Change: 2025 Nov 16 by The Vim Project (set errorformat)
+"
+" If you can not find 'vimdoc' in the package manager of your distribution e.g
+" 'pip', then you may need to build it from its source.
+
+if exists('b:current_compiler')
+ finish
+endif
+let b:current_compiler = 'vimdoc'
+
+let s:save_cpoptions = &cpoptions
+set cpoptions&vim
+
+CompilerSet makeprg=vimdoc
+" CompilerSet errorformat=%f:%l:%c:\ %m,%f:%l:\ %m
+CompilerSet errorformat&
+
+let &cpoptions = s:save_cpoptions
+unlet s:save_cpoptions