runtime(vim): don't set compiler, update a comment for vimdoc compiler (#14532)
Commit:
https://github.com/vim/vim/commit/e92ed1b45c5432235b0541521124d965b9d6a9a2
Author: Shane-XB-Qian <
shane...@foxmail.com>
Date: Mon Apr 15 02:20:01 2024 +0800
runtime(vim): don't set compiler, update a comment for vimdoc compiler (
https://github.com/vim/vim/issues/14532)
Signed-off-by: shane.xb.qian <
shane...@foxmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/compiler/vimdoc.vim b/runtime/compiler/vimdoc.vim
index d83b92417..a30355f85 100644
--- a/runtime/compiler/vimdoc.vim
+++ b/runtime/compiler/vimdoc.vim
@@ -1,9 +1,10 @@
" Vim Compiler File
" Language: vimdoc
" Maintainer: Wu, Zhenyu <
wuzh...@ustc.edu>
-" 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
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim
index e28beb984..67f360bf3 100644
--- a/runtime/ftplugin/vim.vim
+++ b/runtime/ftplugin/vim.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin
" Language: Vim
" Maintainer: Doug Kearns <
dougk...@gmail.com>
-" Last Change: 2024 Apr 08
+" Last Change: 2024 Apr 13
" Former Maintainer: Bram Moolenaar <
Br...@vim.org>
" Only do this when not done yet for this buffer
@@ -15,8 +15,6 @@ let b:did_ftplugin = 1
let s:cpo_save = &cpo
set cpo&vim
-compiler vimdoc
-
if !exists('*VimFtpluginUndo')
func VimFtpluginUndo()
setl fo< isk< com< tw< commentstring< include< define<