mineo / yatemplate

File templates for Emacs with YASnippet
https://github.com/mineo/yatemplate
GNU General Public License v3.0
70 stars 11 forks source link

support additional template directories #5

Closed fommil closed 9 years ago

fommil commented 9 years ago

in https://github.com/ensime/ensime-emacs we'd like to be able to provide some fallback templates for scala and java files but we don't want to mess with the user's preference. Is it possible for us to add a directory of templates to the search list?

fommil commented 9 years ago

actually, maybe what we should do is to manually add our defaults to the auto-insert-alist, in which case we just need access to the ACTION that you provide. Hmm yatemplate-expand-yas-buffer