view runtime/ftplugof.vim @ 27241:959d6a664cfd v8.2.4149

patch 8.2.4149: test override not restored, autocommand left behind Commit: https://github.com/vim/vim/commit/ca34db3bdef7238b203386dc82b975ffdf26f839 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 20 11:17:18 2022 +0000 patch 8.2.4149: test override not restored, autocommand left behind Problem: Test override not restored, autocommand left behind. Solution: Correct restoring test override. Delete autocommand afterwards.
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Jan 2022 12:30:06 +0100
parents 49b08c9b9f5b
children 179c118424a6
line wrap: on
line source

" Vim support file to switch off loading plugins for file types
"
" Maintainer:	Bram Moolenaar <Bram@vim.org>
" Last Change:	2011 Oct 20

if exists("did_load_ftplugin")
  unlet did_load_ftplugin
endif

" Remove all autocommands in the filetypeplugin group, if any exist.
if exists("#filetypeplugin")
  silent! au! filetypeplugin *
endif