Install yasnippet and vala-snippets packages
This commit is contained in:
6
elpa/yasnippet-20160924.2001/snippets/cc-mode/printf
Normal file
6
elpa/yasnippet-20160924.2001/snippets/cc-mode/printf
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: printf
|
||||
# key: printf
|
||||
# --
|
||||
printf("${1:%s}\\n"${1:$(if (string-match "%" yas-text) ", " "\);")
|
||||
}$2${1:$(if (string-match "%" yas-text) "\);" "")}
|
Reference in New Issue
Block a user