| 
									
										
										
										
											2006-02-01 21:47:16 +00:00
										 |  |  | " Vim plugin for downloading spell files | 
					
						
							| 
									
										
										
										
											2023-08-13 10:33:05 +02:00
										 |  |  | " Maintainer:	The Vim Project <https://github.com/vim/vim> | 
					
						
							|  |  |  | " Last Change:	2023 Aug 10 | 
					
						
							|  |  |  | " Former Maintainer:	Bram Moolenaar <Bram@vim.org> | 
					
						
							| 
									
										
										
										
											2006-02-01 21:47:16 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | " 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>')) |