summaryrefslogtreecommitdiff
path: root/uvim/runtime/plugin/spellfile.mnv
blob: 493858e941e89e4cec3a819caa24bf113cf57454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
" MNV plugin for downloading spell files
" Maintainer:	The MNV Project <https://github.com/Project-Tick/Project-Tick>
" Last Change:	2023 Aug 10
" Former Maintainer:	Bram Moolenaar <Bram@mnv.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>'))