-
Notifications
You must be signed in to change notification settings - Fork 312
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
web-mode #396
Comments
I'm not touching the default snippet collection. You can probably do, but I havent tested
its a one liner in your .emacs which you put after you |
Without yas-reload-all it does'nt work. But, after I add yas-reload-all in my .emacs, your solution works fine. ;; yasnippet (add-to-list 'load-path "~/path-to-yasnippet") |
That is interesting, thanks! |
Since last update (when using the version 20130907.1855 of yasnippet from MELPA) yasnippet doesn't work with web-mode. |
What I do is to add a line: No need to yas-reload-all and html-mode snippets from yasnippet are now visible in web-mode. |
@eN-Joy this is precisely how it should be done |
Hi capitaomorte, by default yasnippet doesn't work with web-mode which is a very convenient mode, much better than the original htm-mode. Can you please do something for that.
Personally I copy and paste the html-mode folder from the snippets directory and rename the copy as web-mode and it just work fine. Perhaps there is a better solution to afford newbies like me to use emacs with web-mode and yasnippet together.
If you can do something for that, that will be great.
The text was updated successfully, but these errors were encountered: