mirror of
				https://github.com/vim/vim.git
				synced 2025-10-31 09:57:14 -04:00 
			
		
		
		
	
		
			
	
	
		
			13 lines
		
	
	
		
			241 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			241 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
|   | " Provide 'PrintVer' command to print the interface versions. | ||
|  | 
 | ||
|  | func s:print_ver(lang, ...) | ||
|  |   if has(a:lang) | ||
|  |     exec a:lang join(a:000) | ||
|  |   else | ||
|  |     echo 'N/A' | ||
|  |   endif | ||
|  |   echo '' | ||
|  | endfunc | ||
|  | 
 | ||
|  | command -nargs=+ PrintVer call <SID>print_ver(<f-args>) |