mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
c6d1144515
runtime(compiler): add vimdoc
closes: vim/vim#14459
https://github.com/google/vimdoc generates vim help files from vimscript files
fcbefe74f1
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
20 lines
450 B
VimL
20 lines
450 B
VimL
" Vim Compiler File
|
|
" Language: vimdoc
|
|
" Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
|
|
" Latest Revision: 2024-04-09
|
|
"
|
|
" you can get it by `pip install vimdoc` or the package manager of your distribution.
|
|
|
|
if exists('b:current_compiler')
|
|
finish
|
|
endif
|
|
let b:current_compiler = 'vimdoc'
|
|
|
|
let s:save_cpoptions = &cpoptions
|
|
set cpoptions&vim
|
|
|
|
CompilerSet makeprg=vimdoc
|
|
|
|
let &cpoptions = s:save_cpoptions
|
|
unlet s:save_cpoptions
|