view runtime/plugin/spellfile.vim @ 7782:3a99194bd187 v7.4.1188

commit https://github.com/vim/vim/commit/009d84a34f3678ec93921bee3bc05be2fd606264 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 28 14:12:00 2016 +0100 patch 7.4.1188 Problem: Using older JSON standard. Solution: Update the link. Adjust the text a bit.
author Christian Brabandt <cb@256bit.org>
date Thu, 28 Jan 2016 14:15: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>'))