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