view runtime/ftplugof.vim @ 31610:8707b2b5c45e v9.0.1137

patch 9.0.1137: some conditions are always false Commit: https://github.com/vim/vim/commit/ea720aea851e645f4c8ec3b20afb27c7ca38184c Author: zeertzjq <zeertzjq@outlook.com> Date: Tue Jan 3 10:54:09 2023 +0000 patch 9.0.1137: some conditions are always false Problem: Some conditions are always false. Solution: Remove the useless conditions. (closes https://github.com/vim/vim/issues/11776)
author Bram Moolenaar <Bram@vim.org>
date Tue, 03 Jan 2023 12:00:04 +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