mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00: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
|