0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

updated for version 7.3.340

Problem:    When 'verbosefile' is set ftplugof.vim can give an error.
Solution:   Only remove filetypeplugin autocommands when they exist. (Yasuhiro
            Matsumoto)
This commit is contained in:
Bram Moolenaar
2011-10-20 18:12:32 +02:00
parent a4594f6b82
commit f34dc6537d
2 changed files with 7 additions and 3 deletions

View File

@@ -1,11 +1,13 @@
" Vim support file to switch off loading plugins for file types " Vim support file to switch off loading plugins for file types
" "
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2002 Apr 04 " Last Change: 2011 Oct 20
if exists("did_load_ftplugin") if exists("did_load_ftplugin")
unlet did_load_ftplugin unlet did_load_ftplugin
endif endif
" Remove all autocommands in the filetypeplugin group " Remove all autocommands in the filetypeplugin group, if any exist.
if exists("#filetypeplugin")
silent! au! filetypeplugin * silent! au! filetypeplugin *
endif

View File

@@ -709,6 +709,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
340,
/**/ /**/
339, 339,
/**/ /**/