Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

When Haml code is stretched over multiple lines, fontification breaks #7

Closed
scalisi opened this Issue · 0 comments

2 participants

@scalisi

Below are two blocks of code from the Haml reference as they appear in the reference:

= link_to_remote "Add to cart",
    :url => { :action => "add", :id => product.id },
    :update => { :success => "cart", :failure => "error" }
- links = {:home => "/",
    :docs => "/docs",
    :about => "/about"}

In Emacs, the above code has the following fontification problems:

  • The symbols in the hashes in the last two lines of each block will not be fontified.
  • The other symbols in the last two lines of each block will be fontitied as if they were strings.
  • The strings in the last two lines of each block will not be fontified.
@purcell purcell closed this in 568f9e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.