view runtime/ftplugof.vim @ 28829:2d0bd5601c30 v8.2.4938

patch 8.2.4938: crash when matching buffer with invalid pattern Commit: https://github.com/vim/vim/commit/a59f2dfd0cf9ee1a584d3de5b7c2d47648e79060 Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 11 11:42:28 2022 +0100 patch 8.2.4938: crash when matching buffer with invalid pattern Problem: Crash when matching buffer with invalid pattern. Solution: Check for NULL regprog.
author Bram Moolenaar <Bram@vim.org>
date Wed, 11 May 2022 12:45: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