mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-16 10:24:18 +00:00
Add explicit "# key" directive to legacy snippet collection before deprecating filenames-as-triggers
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#name : v.begin(), v.end()
|
||||
# key: beginend
|
||||
# --
|
||||
${1:v}.begin(), $1.end
|
||||
@@ -1,4 +1,5 @@
|
||||
#name : class ... { ... }
|
||||
# key: class
|
||||
# --
|
||||
class ${1:Name}
|
||||
{
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#name : namespace ...
|
||||
# key: ns
|
||||
# --
|
||||
namespace
|
||||
@@ -1,3 +1,4 @@
|
||||
#name : template <typename ...>
|
||||
# key: template
|
||||
# --
|
||||
template <typename ${T}>
|
||||
@@ -1,4 +1,5 @@
|
||||
#name : using namespace ...
|
||||
# key: using
|
||||
# --
|
||||
using namespace ${std};
|
||||
$0
|
||||
Reference in New Issue
Block a user