diff options
author | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-04-11 21:25:39 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-11 21:25:39 +0200 |
commit | fcbefe74f1619dfd925033d83a6d233c686409d4 (patch) | |
tree | ba57196b952acbf6ad7a948b4ed8e1a60df03837 /runtime/compiler | |
parent | 3cb2b3776700988e0c9d4ea37d0b05e371e2bbfd (diff) |
runtime(compiler): add vimdoc
closes: #14459
https://github.com/google/vimdoc generates vim help files from vimscript files
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/compiler')
-rw-r--r-- | runtime/compiler/vimdoc.vim | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/runtime/compiler/vimdoc.vim b/runtime/compiler/vimdoc.vim new file mode 100644 index 0000000000..d83b924177 --- /dev/null +++ b/runtime/compiler/vimdoc.vim @@ -0,0 +1,19 @@ +" 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 |