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

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

Closed
scalisi opened this issue Aug 3, 2011 · 0 comments
Closed

Comments

@scalisi
Copy link

scalisi commented Aug 3, 2011

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.
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