atom / language-ruby-on-rails

Ruby on Rails package for Atom
Other
48 stars 41 forks source link

add image_tag to viewhelpers #62

Closed tshedor closed 6 years ago

tshedor commented 6 years ago

Description of the Change

image_tag is highlighted as a View Helper. It's an OG Rails helper. This was first reported on slim-template/language-slim#18.

Alternate Designs

The helper could remain unhighlighted.

Benefits

image_tag will be signaled in the editor as a built-in Rails helper and not a custom helper added to the app.

Possible Drawbacks

If a Ruby app has its own image_tag, is not a Rails app, and the editor has the Atom Ruby on Rails syntax highlighter, image_tag will be highlighted as though it's part of a Rails app, even though it is not.

Applicable Issues

slim-template/language-slim#18