annotate runtime/ftplugin/ch.vim @ 26811:f0fdd992cfb9
v8.2.3934
patch 8.2.3934: repeating line comment is undesired for "O" command
Commit: https://github.com/vim/vim/commit/5ea5f373729589acb38ce3f3ca338e8a6d398bdc
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 29 15:15:47 2021 +0000
patch 8.2.3934: repeating line comment is undesired for "O" command
Problem: Repeating line comment is undesired for "O" command.
Solution: Do not copy line comment leader for "O". (closes https://github.com/vim/vim/issues/9426)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 29 Dec 2021 16:30:03 +0100 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 " Vim filetype plugin file
|
|
2 " Language: Ch
|
|
3 " Maintainer: SoftIntegration, Inc. <info@softintegration.com>
|
|
4 " URL: http://www.softintegration.com/download/vim/ftplugin/ch.vim
|
|
5 " Last change: 2004 May 16
|
|
6 " Created based on cpp.vim
|
|
7 "
|
|
8 " Ch is a C/C++ interpreter with many high level extensions
|
|
9 "
|
|
10
|
|
11 " Only do this when not done yet for this buffer
|
|
12 if exists("b:did_ftplugin")
|
|
13 finish
|
|
14 endif
|
|
15
|
|
16 " Behaves just like C
|
|
17 runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim
|