Added try yasnippet.

This commit is contained in:
tastytea 2019-09-10 16:09:52 +02:00
parent 076ade59fb
commit 0fbe54f6f1
1 changed files with 13 additions and 0 deletions

13
snippets/c++-mode/try Normal file
View File

@ -0,0 +1,13 @@
# -*- mode: snippet -*-
# name: try
# key: try
# a bit too intrusive now still, not always I want to do this
# --
try
{
$0
}
catch (${1:const std::exception &e})
{
}