Mercurial > vim
comparison runtime/ftplugin/vim.vim @ 34929:f3340c5a0dc5
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.qian@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.qian@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 14 Apr 2024 20:30:04 +0200 |
parents | 4e9d1cafdcf6 |
children | 7c7432a53a6c |
comparison
equal
deleted
inserted
replaced
34928:2a8a5722c1b5 | 34929:f3340c5a0dc5 |
---|---|
1 " Vim filetype plugin | 1 " Vim filetype plugin |
2 " Language: Vim | 2 " Language: Vim |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | 3 " Maintainer: Doug Kearns <dougkearns@gmail.com> |
4 " Last Change: 2024 Apr 08 | 4 " Last Change: 2024 Apr 13 |
5 " Former Maintainer: Bram Moolenaar <Bram@vim.org> | 5 " Former Maintainer: Bram Moolenaar <Bram@vim.org> |
6 | 6 |
7 " Only do this when not done yet for this buffer | 7 " Only do this when not done yet for this buffer |
8 if exists("b:did_ftplugin") | 8 if exists("b:did_ftplugin") |
9 finish | 9 finish |
12 " Don't load another plugin for this buffer | 12 " Don't load another plugin for this buffer |
13 let b:did_ftplugin = 1 | 13 let b:did_ftplugin = 1 |
14 | 14 |
15 let s:cpo_save = &cpo | 15 let s:cpo_save = &cpo |
16 set cpo&vim | 16 set cpo&vim |
17 | |
18 compiler vimdoc | |
19 | 17 |
20 if !exists('*VimFtpluginUndo') | 18 if !exists('*VimFtpluginUndo') |
21 func VimFtpluginUndo() | 19 func VimFtpluginUndo() |
22 setl fo< isk< com< tw< commentstring< include< define< | 20 setl fo< isk< com< tw< commentstring< include< define< |
23 if exists('b:did_add_maps') | 21 if exists('b:did_add_maps') |