annotate runtime/ftoff.vim @ 3139:49b08c9b9f5b
v7.3.340
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)
author |
Bram Moolenaar <bram@vim.org> |
date |
Thu, 20 Oct 2011 18:12:32 +0200 |
parents |
3fc0f57ecb91 |
children |
4027cefc2aab |
rev |
line source |
7
|
1 " Vim support file to switch off detection of file types
|
|
2 "
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
|
4 " Last change: 2001 Jun 11
|
|
5
|
|
6 if exists("did_load_filetypes")
|
|
7 unlet did_load_filetypes
|
|
8 endif
|
|
9
|
|
10 " Remove all autocommands in the filetypedetect group
|
|
11 silent! au! filetypedetect *
|