2024-04-11 21:25:39 +02:00
|
|
|
" Vim Compiler File
|
|
|
|
|
" Language: vimdoc
|
2026-01-01 15:14:14 +00:00
|
|
|
" Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
|
2024-04-15 02:20:01 +08:00
|
|
|
" Latest Revision: 2024-04-13
|
2025-11-20 20:54:31 +00:00
|
|
|
" Last Change: 2025 Nov 16 by The Vim Project (set errorformat)
|
2024-04-11 21:25:39 +02:00
|
|
|
"
|
2024-04-15 02:20:01 +08:00
|
|
|
" 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.
|
2024-04-11 21:25:39 +02:00
|
|
|
|
|
|
|
|
if exists('b:current_compiler')
|
|
|
|
|
finish
|
|
|
|
|
endif
|
|
|
|
|
let b:current_compiler = 'vimdoc'
|
|
|
|
|
|
|
|
|
|
let s:save_cpoptions = &cpoptions
|
|
|
|
|
set cpoptions&vim
|
|
|
|
|
|
|
|
|
|
CompilerSet makeprg=vimdoc
|
2025-11-20 20:54:31 +00:00
|
|
|
" CompilerSet errorformat=%f:%l:%c:\ %m,%f:%l:\ %m
|
|
|
|
|
CompilerSet errorformat&
|
2024-04-11 21:25:39 +02:00
|
|
|
|
|
|
|
|
let &cpoptions = s:save_cpoptions
|
|
|
|
|
unlet s:save_cpoptions
|