Skip to content

Commit

Permalink
runtime(vim): don't set compiler, update a comment for vimdoc compiler (
Browse files Browse the repository at this point in the history
#14532)

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
  • Loading branch information
Shane-XB-Qian authored Apr 14, 2024
1 parent a7a9a47 commit e92ed1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions runtime/compiler/vimdoc.vim
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
" Vim Compiler File
" Language: vimdoc
" Maintainer: Wu, Zhenyu <wuzhenyu@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
Expand Down
4 changes: 1 addition & 3 deletions runtime/ftplugin/vim.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
" Vim filetype plugin
" Language: Vim
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 08
" Last Change: 2024 Apr 13
" Former Maintainer: Bram Moolenaar <Bram@vim.org>

" Only do this when not done yet for this buffer
Expand All @@ -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<
Expand Down

0 comments on commit e92ed1b

Please sign in to comment.