restored yasnippet
This commit is contained in:
parent
ac01f235cc
commit
103dbcd8d0
573 changed files with 71124 additions and 0 deletions
1
vendor/yasnippet/snippets/cc-mode/.yas-parents
vendored
Normal file
1
vendor/yasnippet/snippets/cc-mode/.yas-parents
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
text-mode
|
7
vendor/yasnippet/snippets/cc-mode/do
vendored
Normal file
7
vendor/yasnippet/snippets/cc-mode/do
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
# name: do { ... } while (...)
|
||||
# key: do
|
||||
# --
|
||||
do
|
||||
{
|
||||
$0
|
||||
} while (${1:condition});
|
7
vendor/yasnippet/snippets/cc-mode/for
vendored
Normal file
7
vendor/yasnippet/snippets/cc-mode/for
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
# name: for (...; ...; ...) { ... }
|
||||
# key: for
|
||||
# --
|
||||
for (${1:int i = 0}; ${2:i < N}; ${3:++i})
|
||||
{
|
||||
$0
|
||||
}
|
7
vendor/yasnippet/snippets/cc-mode/if
vendored
Normal file
7
vendor/yasnippet/snippets/cc-mode/if
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
# name: if (...) { ... }
|
||||
# key: if
|
||||
# --
|
||||
if (${1:condition})
|
||||
{
|
||||
$0
|
||||
}
|
4
vendor/yasnippet/snippets/cc-mode/inc
vendored
Normal file
4
vendor/yasnippet/snippets/cc-mode/inc
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
# name: #include "..."
|
||||
# key: inc
|
||||
# --
|
||||
#include "$1"
|
4
vendor/yasnippet/snippets/cc-mode/inc.1
vendored
Normal file
4
vendor/yasnippet/snippets/cc-mode/inc.1
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
# name: #include <...>
|
||||
# key: inc
|
||||
# --
|
||||
#include <$1>
|
8
vendor/yasnippet/snippets/cc-mode/main
vendored
Normal file
8
vendor/yasnippet/snippets/cc-mode/main
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
# name: int main(argc, argv) { ... }
|
||||
# key: main
|
||||
# --
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
$0
|
||||
return 0;
|
||||
}
|
9
vendor/yasnippet/snippets/cc-mode/once
vendored
Normal file
9
vendor/yasnippet/snippets/cc-mode/once
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
# name: #ifndef XXX; #define XXX; #endif
|
||||
# key: once
|
||||
# --
|
||||
#ifndef ${1:_`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H_}
|
||||
#define $1
|
||||
|
||||
$0
|
||||
|
||||
#endif /* $1 */
|
7
vendor/yasnippet/snippets/cc-mode/struct
vendored
Normal file
7
vendor/yasnippet/snippets/cc-mode/struct
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
# name: struct ... { ... }
|
||||
# key: struct
|
||||
# --
|
||||
struct ${1:name}
|
||||
{
|
||||
$0
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue