view runtime/ftplugof.vim @ 28911:e25196adb7c1 v8.2.4978

patch 8.2.4978: no error if engine selection atom is not at the start Commit: https://github.com/vim/vim/commit/360da40b47a84ee8586c3b5d062f8c64a2ac9cc6 Author: Christian Brabandt <cb@256bit.org> Date: Wed May 18 15:04:02 2022 +0100 patch 8.2.4978: no error if engine selection atom is not at the start Problem: No error if engine selection atom is not at the start. Solution: Give an error. (Christian Brabandt, closes https://github.com/vim/vim/issues/10439)
author Bram Moolenaar <Bram@vim.org>
date Wed, 18 May 2022 16:15:03 +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