mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-05-05 15:28:18 +00:00
restructuring classic snippets dir to conform to new parenting specs
This commit is contained in:
@@ -0,0 +1 @@
|
||||
cc-mode
|
||||
@@ -0,0 +1,3 @@
|
||||
#name : FILE *fp = fopen(..., ...);
|
||||
# --
|
||||
FILE *${fp} = fopen(${"file"}, "${r}");
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name : printf
|
||||
# contributor : joaotavora
|
||||
# --
|
||||
printf ("${1:%s}\\n"${1:$(if (string-match "%" text) "," "\);")
|
||||
}$2${1:$(if (string-match "%" text) "\);" "")}
|
||||
Reference in New Issue
Block a user