view runtime/plugin/spellfile.vim @ 36197:2d2d82bb66be draft default tip

Added tag v9.1.0744 for changeset 40543b042c11eb455649e4cdf4fe0eee3e0a4572
author Christian Brabandt <cb@256bit.org>
date Thu, 26 Sep 2024 16:30:46 +0200
parents 4027cefc2aab
children
line wrap: on
line source

" Vim plugin for downloading spell files
" Maintainer:	The Vim Project <https://github.com/vim/vim>
" Last Change:	2023 Aug 10
" Former Maintainer:	Bram Moolenaar <Bram@vim.org>

" 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>'))