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

Update README, add emacs support. #1967

Closed
1 of 7 tasks
samuelmesq opened this issue Sep 2, 2016 · 3 comments
Closed
1 of 7 tasks

Update README, add emacs support. #1967

samuelmesq opened this issue Sep 2, 2016 · 3 comments

Comments

@samuelmesq
Copy link
Contributor

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:

2016-09-01-211037_464x321_scrot

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
Copy link
Member

@samuelmesq could you please make a pull request?

@samuelmesq
Copy link
Contributor Author

@GianlucaGuarini done #1968

@GianlucaGuarini
Copy link
Member

thanks @samuelmesq I am closing this issue

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