From c6d11445152fbedccf6516fefd24f4136815f122 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 12 Apr 2024 05:48:25 +0800 Subject: vim-patch:fcbefe74f161 (#28285) runtime(compiler): add vimdoc closes: vim/vim#14459 https://github.com/google/vimdoc generates vim help files from vimscript files https://github.com/vim/vim/commit/fcbefe74f1619dfd925033d83a6d233c686409d4 Co-authored-by: Wu, Zhenyu --- runtime/compiler/vimdoc.vim | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 runtime/compiler/vimdoc.vim (limited to 'runtime/compiler/vimdoc.vim') 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 +" 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 -- cgit From bcfad7fe62d832d83c3c7eec0dc1f8a30d261757 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 15 Apr 2024 07:39:32 +0800 Subject: vim-patch:e92ed1b45c54 (#28337) runtime(vim): don't set compiler, update a comment for vimdoc compiler (vim/vim#14532) https://github.com/vim/vim/commit/e92ed1b45c5432235b0541521124d965b9d6a9a2 Co-authored-by: Shane-XB-Qian --- runtime/compiler/vimdoc.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'runtime/compiler/vimdoc.vim') diff --git a/runtime/compiler/vimdoc.vim b/runtime/compiler/vimdoc.vim index d83b924177..a30355f855 100644 --- a/runtime/compiler/vimdoc.vim +++ b/runtime/compiler/vimdoc.vim @@ -1,9 +1,10 @@ " Vim Compiler File " Language: vimdoc " Maintainer: Wu, Zhenyu -" Latest Revision: 2024-04-09 +" Latest Revision: 2024-04-13 " -" you can get it by `pip install vimdoc` or the package manager of your distribution. +" 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 -- cgit