Mercurial > vim
view runtime/ftplugof.vim @ 31095:c61a9d832537 v9.0.0882
patch 9.0.0882: using freed memory after SpellFileMissing autocmd uses bwipe
Commit: https://github.com/vim/vim/commit/c3d27ada14acd02db357f2d16347acc22cb17e93
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 14 20:52:14 2022 +0000
patch 9.0.0882: using freed memory after SpellFileMissing autocmd uses bwipe
Problem: Using freed memory after SpellFileMissing autocmd uses bwipe.
Solution: Bail out if the window no longer exists.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 14 Nov 2022 22: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