diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-04-10 02:20:53 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-04-10 04:27:39 -0400 |
commit | 8d37201ed29a4149ff87b17e7ade209a0981986a (patch) | |
tree | 9192dbd6d70a54fabfd328454144659f7485a6d7 /runtime/plugin | |
parent | 3462f46cb8965c3e5a0c4fbdc12ade57df01c475 (diff) | |
download | rneovim-8d37201ed29a4149ff87b17e7ade209a0981986a.tar.gz rneovim-8d37201ed29a4149ff87b17e7ade209a0981986a.tar.bz2 rneovim-8d37201ed29a4149ff87b17e7ade209a0981986a.zip |
spell: Fix argument and avoid redundant prompt.
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
Diffstat (limited to 'runtime/plugin')
-rw-r--r-- | runtime/plugin/spellfile.vim | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/runtime/plugin/spellfile.vim b/runtime/plugin/spellfile.vim index 437296090c..e03659d6d6 100644 --- a/runtime/plugin/spellfile.vim +++ b/runtime/plugin/spellfile.vim @@ -1,15 +1,8 @@ " 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>')) |