view runtime/plugin/spellfile.vim @ 23632:8da1d91d751c v8.2.2358

patch 8.2.2358: wrong #ifdef for use_xterm_like_mouse() Commit: https://github.com/vim/vim/commit/bf78974ca4a6798db7172c226cbfe7b2485b7baa Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 16 11:21:40 2021 +0100 patch 8.2.2358: wrong #ifdef for use_xterm_like_mouse() Problem: Wrong #ifdef for use_xterm_like_mouse(). Solution: Use FEAT_MOUSE_XTERM.
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 Jan 2021 11:30:05 +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>'))