view runtime/plugin/spellfile.vim @ 7356:f0eb9aa9eb32 v7.4.983

commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 28 16:26:45 2015 +0100 patch 7.4.983 Problem: Executing one test after "make testclean" doesn't work. Solution: Add a dependency on test1.out.
author Christian Brabandt <cb@256bit.org>
date Mon, 28 Dec 2015 16:30:04 +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>'))