Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you expand on the documentation? #11

Closed
jbranso opened this issue Apr 23, 2016 · 2 comments
Closed

Can you expand on the documentation? #11

jbranso opened this issue Apr 23, 2016 · 2 comments

Comments

@jbranso
Copy link

jbranso commented Apr 23, 2016

Thanks for writing this emacs extension! It's pretty awesome!

But I really don't understand how to use it. For example, I'm not sure how to create a file in yatemplate-dir that is used whenever I open an empty file in web-mode, or if the file ends in "php" or "html".

Can you give a more elaborate code example that shows one how to do something like this?

@mineo
Copy link
Owner

mineo commented Apr 25, 2016

Could you clarify which part of the currently existing documentation you're stuck at? As the author of something, it's always clear where something's not clear or only clear with some knowledge that's not explicitly stated anywhere. Note that the README currently assumes at least some knowledge about auto-insert-mode.

Regarding your examples: mode-specific templates are not possible (issue #1 is about that), but 00:.*.php and 00:.*.html should do the trick for the others.

@mineo
Copy link
Owner

mineo commented Jun 15, 2016

I'm closing this because of a lock of reply. If there are still open questions, feel free to comment on this issue or open another one.

@mineo mineo closed this as completed Jun 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants