Bug 175878 - pointless boilerplates added to C by default.
pointless boilerplates added to C by default.
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: vim (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
David Lawrence
:
Depends On:
Blocks: 171491 FC5Target
  Show dependency treegraph
 
Reported: 2005-12-15 17:01 EST by Dave Jones
Modified: 2015-01-04 17:23 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-12-20 07:02:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dave Jones 2005-12-15 17:01:29 EST
vim foo.c
(assume foo.c doesn't exist)

a new buffer is opened with this..

/*
 *
=====================================================================================
 *
 *        Filename:  foo.c
 *
 *     Description:
 *
 *         Version:  1.0
 *         Created:  12/15/2005 05:02:18 PM EST
 *        Revision:  none
 *        Compiler:  gcc
 *
 *          Author:  read README.csupport to learn how to set defaults (),
 *         Company:
 *
 *
=====================================================================================
 */


which is nearly always totally useless, and has to be deleted.

Please disable this feature by default, and have users have to enable it in
.vimrc, (as was previous behaviour) instead of making every user have to decode
the documentation (after a 10 minute search I gave up trying to find out how to
disable it), and change their .vimrc's.
Comment 1 Dave Jones 2005-12-15 20:17:17 EST
for the timebeing, adding

let g:C_Version=47

to .vimrc reverts to the old behaviour.
Comment 2 Karsten Hopp 2005-12-20 07:02:21 EST
I've disabled the templates in vim-6.4.004-2

Note You need to log in before you can comment on or make changes to this bug.