Added try yasnippet.
This commit is contained in:
parent
076ade59fb
commit
0fbe54f6f1
13
snippets/c++-mode/try
Normal file
13
snippets/c++-mode/try
Normal 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})
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user