view runtime/ftplugof.vim @ 28925:46fa2d54e389 v8.2.4985

patch 8.2.4985: PVS warns for possible array underrun Commit: https://github.com/vim/vim/commit/875339b22a989d0782097036169e8fb9e2100d7e Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 20 14:10:50 2022 +0100 patch 8.2.4985: PVS warns for possible array underrun Problem: PVS warns for possible array underrun. Solution: Add a check for a positive value. (closes https://github.com/vim/vim/issues/10451)
author Bram Moolenaar <Bram@vim.org>
date Fri, 20 May 2022 15:15:04 +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