mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 13:45:15 -07:00
8d37201ed2
In #3027 we deferred the "missing spell file" prompt until VimEnter, but we were sending the wrong argument (should be "en", not "en_us"). This also caused redundant prompts if user answers "No" to the download prompt invoked by the SpellFileMissing event. Closes #3966 Closes #4406
9 lines
236 B
VimL
9 lines
236 B
VimL
" Vim plugin for downloading spell files
|
|
|
|
if exists("loaded_spellfile_plugin") || &cp || exists("#SpellFileMissing")
|
|
finish
|
|
endif
|
|
let loaded_spellfile_plugin = 1
|
|
|
|
autocmd SpellFileMissing * call spellfile#LoadFile(expand('<amatch>'))
|