mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-03 17:24:29 +00:00 
			
		
		
		
	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>'))
 |