view runtime/ftplugof.vim @ 28011:d10d5cc8e657 v8.2.4530

patch 8.2.4530: making comparison with null work changes legacy behavior Commit: https://github.com/vim/vim/commit/f3507a517c38bee5498736607ead64c8ae6b5941 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 9 11:56:21 2022 +0000 patch 8.2.4530: making comparison with null work changes legacy behavior Problem: Making comparison with null work changes legacy behavior. Solution: Only use the better comparison in Vim9 script. (closes https://github.com/vim/vim/issues/9910)
author Bram Moolenaar <Bram@vim.org>
date Wed, 09 Mar 2022 13:00:03 +0100
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