1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: When 'verbosefile' is set ftplugof.vim can give an error.
12 Solution: Only remove filetypeplugin autocommands when they exist. (Yasuhiro
14 Files: runtime/ftplugof.vim
17 *** ../vim-7.3.339/runtime/ftplugof.vim 2010-08-15 21:57:11.000000000 +0200
18 --- runtime/ftplugof.vim 2011-10-20 16:51:00.000000000 +0200
21 " Vim support file to switch off loading plugins for file types
23 " Maintainer: Bram Moolenaar <Bram@vim.org>
24 ! " Last Change: 2002 Apr 04
26 if exists("did_load_ftplugin")
27 unlet did_load_ftplugin
30 ! " Remove all autocommands in the filetypeplugin group
31 ! silent! au! filetypeplugin *
33 " Vim support file to switch off loading plugins for file types
35 " Maintainer: Bram Moolenaar <Bram@vim.org>
36 ! " Last Change: 2011 Oct 20
38 if exists("did_load_ftplugin")
39 unlet did_load_ftplugin
42 ! " Remove all autocommands in the filetypeplugin group, if any exist.
43 ! if exists("#filetypeplugin")
44 ! silent! au! filetypeplugin *
46 *** ../vim-7.3.339/src/version.c 2011-10-20 16:35:25.000000000 +0200
47 --- src/version.c 2011-10-20 18:01:18.000000000 +0200
51 { /* Add new patch number below this line */
57 How many light bulbs does it take to change a person?
59 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
60 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
61 \\\ an exciting new programming language -- http://www.Zimbu.org ///
62 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///