view runtime/ftplugof.vim @ 28218:300b0ca4e46c v8.2.4635

patch 8.2.4635: tests using null list or dict fail Commit: https://github.com/vim/vim/commit/501f978288008c2e4e8761858af2e27b14223afd Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 27 16:51:04 2022 +0100 patch 8.2.4635: tests using null list or dict fail Problem: Tests using null list or dict fail. Solution: Only use the new rules for Vim9 script.
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Mar 2022 18:00: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