Update README, add emacs support.
samuelmesq opened this issue · 3 comments
samuelmesq commented
Describe your issue:
Hi, in the section "Editors / Editor Plugins" you can now add emacs, in the release v14 aka “Boulogne-sur-mer” of web-mode they add support for riot as a engine.
My setup
Like i said is necessary install web-mode for this to work, but if someone is using emacs for web development, they probability already have web-mode, so okay. Then add in .emacs that follow lines:
(add-to-list 'auto-mode-alist '("\\.tag\\'" . web-mode))
(setq web-mode-engines-alist
'(("riot" . "\\.tag\\'")))
The final result:
Is better when put JS code inside the script tag
How would you tag this issue?
- Question
- Bug
- Discussion
- Feature request
- Tip
- Enhancement
- Performance
GianlucaGuarini commented
@samuelmesq could you please make a pull request?
samuelmesq commented
@GianlucaGuarini done #1968
GianlucaGuarini commented
thanks @samuelmesq I am closing this issue