annotate runtime/ftoff.vim @ 19185:17d878a2ddaa
v8.2.0151
patch 8.2.0151: detecting a script was already sourced is unreliable
Commit: https://github.com/vim/vim/commit/978d170bdce9c0a47e6683cd7c288bc2706f3fff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 26 17:38:12 2020 +0100
patch 8.2.0151: detecting a script was already sourced is unreliable
Problem: Detecting a script was already sourced is unreliable.
Solution: Do not use the inode number.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 26 Jan 2020 17:45:04 +0100 |
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 *
|