The problem:
<% javascript_tag do %>
// some js
<% end %>
When I use this method the javascript-syntax is not triggered inside the block. When I use the <script> tag it works. Is there a way to trigger the javascript syntax for the rails block in vim?
Thanks.