mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-15 14:03:04 +00:00
re-design snippets hierarchy
This commit is contained in:
parent
9fdef6f4b2
commit
07e1cdb981
@ -1,6 +0,0 @@
|
||||
#name : do { ... } while (...)
|
||||
# --
|
||||
do
|
||||
{
|
||||
$0
|
||||
} while (${1:condition});
|
@ -1,6 +0,0 @@
|
||||
#name : for (...; ...; ...) { ... }
|
||||
# --
|
||||
for (${1:int i = 0}; ${2:i < N}; ${3:++i})
|
||||
{
|
||||
$0
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
#name : if (...) { ... }
|
||||
# --
|
||||
if (${1:condition})
|
||||
{
|
||||
$0
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
#name : #include "..."
|
||||
# --
|
||||
#include "$1"
|
@ -1,3 +0,0 @@
|
||||
#name : #include <...>
|
||||
# --
|
||||
#include <$1>
|
@ -1,7 +0,0 @@
|
||||
#name: int main(argc, argv) { ... }
|
||||
# --
|
||||
int main(int argc, char *argv)
|
||||
{
|
||||
$0
|
||||
return 0;
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
#name : struct ... { ... }
|
||||
# --
|
||||
struct ${1:name}
|
||||
{
|
||||
$0
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user