mirror of
				https://github.com/vim/vim.git
				synced 2025-10-27 09:24:23 -04:00 
			
		
		
		
	The version check introduced with commit edd4ac3e8 has a logic error.
Also it should only trigger when trying to use the netrw plugin and not
always.
fixes: #16541
Signed-off-by: Christian Brabandt <cb@256bit.org>
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			152 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			152 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
| " Load the netrw package.
 | |
| 
 | |
| if &cp || exists("g:loaded_netrw") || exists("g:loaded_netrwPlugin")
 | |
|   finish
 | |
| endif
 | |
| 
 | |
| packadd netrw
 | |
| 
 | |
| " vim:ts=8 sts=2 sw=2 et
 |