view runtime/ftplugof.vim @ 30228:642b5e748028 v9.0.0450

patch 9.0.0450: return value of argument check functions is inconsistent Commit: https://github.com/vim/vim/commit/cd2d5c181a0b91585a591bc9d2c0438937f19814 Author: zeertzjq <zeertzjq@outlook.com> Date: Mon Sep 12 14:09:30 2022 +0100 patch 9.0.0450: return value of argument check functions is inconsistent Problem: Return value of argument check functions is inconsistent. Solution: Return OK/FAIL instead of TRUE/FALSE. (closes https://github.com/vim/vim/issues/11112)
author Bram Moolenaar <Bram@vim.org>
date Mon, 12 Sep 2022 15: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