view runtime/ftplugof.vim @ 29016:aadeddf38d9b v8.2.5030

patch 8.2.5030: autocmd_add() can only handle one event and pattern Commit: https://github.com/vim/vim/commit/e0ff3a7de6030b73d94121626deb8229e66e82b2 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Fri May 27 18:05:33 2022 +0100 patch 8.2.5030: autocmd_add() can only handle one event and pattern Problem: autocmd_add() can only handle one event and pattern. Solution: Support a list of events and patterns. (Yegappan Lakshmanan, closes #10483)
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 May 2022 19: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