Mercurial > vim
view runtime/plugin/spellfile.vim @ 22948:707b90980de5 v8.2.2021
patch 8.2.2021: Vim9: get E1099 when autocommand resets did_emsg
Commit: https://github.com/vim/vim/commit/eeece9e4885df6190d2615b199efa2b1d22c4bdb
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 20 19:26:48 2020 +0100
patch 8.2.2021: Vim9: get E1099 when autocommand resets did_emsg
Problem: Vim9: get E1099 when autocommand resets did_emsg.
Solution: Add did_emsg_cumul. (closes https://github.com/vim/vim/issues/7336)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 20 Nov 2020 19:30:03 +0100 |
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>'))