mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	Match :catch /{pattern}/ and :throw {expr1}.
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
		
	
		
			
				
	
	
		
			6 lines
		
	
	
		
			96 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			96 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
| " Vim :throw command
 | |
| 
 | |
| " :help :throw
 | |
| 
 | |
| try | throw "oops" | catch /^oo/ | echo "caught" | endtry
 |