Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
237 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: template
  3. # contributor: gbalats
  4. # binding: C-c C-t
  5. # --
  6. define ${1:PROGRAM$(upcase yas-text)}_template
  7. $0
  8. endef
  9. \$(foreach ${2:${1:$(downcase yas-text)}},\$(${3:$1S}),\$(eval \$(call $1_template,\$($2))))