annotate runtime/ftplugof.vim @ 10805:750779134e67
v8.0.0292
patch 8.0.0292: the stat test is a bit slow
commit https://github.com/vim/vim/commit/a2f28859bfb3fa52bde14c9d2ca3ab7196a9154a
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 1 22:05:28 2017 +0100
patch 8.0.0292: the stat test is a bit slow
Problem: The stat test is a bit slow.
Solution: Remove a couple of sleep comments and reduce another.
author |
Christian Brabandt <cb@256bit.org> |
date |
Wed, 01 Feb 2017 22:15:03 +0100 |
parents |
49b08c9b9f5b |
children |
179c118424a6 |
rev |
line source |
7
|
1 " Vim support file to switch off loading plugins for file types
|
|
2 "
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
3139
|
4 " Last Change: 2011 Oct 20
|
7
|
5
|
|
6 if exists("did_load_ftplugin")
|
|
7 unlet did_load_ftplugin
|
|
8 endif
|
|
9
|
3139
|
10 " Remove all autocommands in the filetypeplugin group, if any exist.
|
|
11 if exists("#filetypeplugin")
|
|
12 silent! au! filetypeplugin *
|
|
13 endif
|