Mercurial > vim
view runtime/plugin/spellfile.vim @ 22292:3515f341e8ac v8.2.1695
patch 8.2.1695: Vim9: crash when using varargs type "any"
Commit: https://github.com/vim/vim/commit/2f8cbc4b225ba707c3926070a3f133eb0473aed2
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 16 17:22:59 2020 +0200
patch 8.2.1695: Vim9: crash when using varargs type "any"
Problem: Vim9: crash when using varargs type "any".
Solution: Check if uf_va_type is &t_any. (closes https://github.com/vim/vim/issues/6957)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Sep 2020 17:30:03 +0200 |
parents | 8157079cea85 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim plugin for downloading spell files " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2006 Feb 01 " Exit quickly when: " - this plugin was already loaded " - when 'compatible' is set " - some autocommands are already taking care of spell files if exists("loaded_spellfile_plugin") || &cp || exists("#SpellFileMissing") finish endif let loaded_spellfile_plugin = 1 " The function is in the autoload directory. autocmd SpellFileMissing * call spellfile#LoadFile(expand('<amatch>'))