restored yasnippet

This commit is contained in:
Bozhidar Batsov 2012-02-17 22:12:32 +02:00
parent ac01f235cc
commit 103dbcd8d0
573 changed files with 71124 additions and 0 deletions

View file

@ -0,0 +1 @@
cc-mode

View file

@ -0,0 +1,4 @@
# name: FILE *fp = fopen(..., ...);
# key: fopen
# --
FILE *${fp} = fopen(${"file"}, "${r}");

View file

@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: printf
# contributor: joaotavora
# key: printf
# --
printf ("${1:%s}\\n"${1:$(if (string-match "%" text) "," "\);")
}$2${1:$(if (string-match "%" text) "\);" "")}