view runtime/ftplugof.vim @ 30572:d77e208d611d v9.0.0621

patch 9.0.0621: filetype test leaves file behind Commit: https://github.com/vim/vim/commit/fc06cda8379031890ee8852cdca61eb8af8e1ba2 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Thu Sep 29 13:07:18 2022 +0100 patch 9.0.0621: filetype test leaves file behind Problem: Filetype test leaves file behind. Solution: Add deferred delete flag to writefile(). (Dominique Pell?, closes #11249)
author Bram Moolenaar <Bram@vim.org>
date Thu, 29 Sep 2022 14:15:04 +0200
parents 179c118424a6
children 4027cefc2aab
line wrap: on
line source

vim9script

# Vim support file to switch off loading plugins for file types
#
# Maintainer:	Bram Moolenaar <Bram@vim.org>
# Last Change:	2022 Feb 09

if exists("g:did_load_ftplugin")
  unlet g:did_load_ftplugin
endif

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