[haml] Re: SCSS syntax highlighting for Kate
I added variable support and moved it to a more appropriate location: https://gist.github.com/958598 Check there for any future updates. On May 4, 6:24 pm, razorx razorx@gmail.com wrote: Well, I modified the css.xml file a little and I think it works (I'll be able to tell more when I start working with it more). I posted it herehttps://docs.google.com/leaf?id=0B4dQTozkYIbnN2NlNzNiMDQtMDcxZS00Mzgz... On Apr 18, 9:29 pm, razorx razorx@gmail.com wrote: Does anyone have a working syntax highlighting file for Kate? Since .scss is valid css, I'm guessing one could just modify the css.xml file to add support for variables, nested blocks, etc. The link herehttp://sass-lang.com/editors.htmllistsa Kate syntax file, but this is just for haml, not scss. (Maybe one exists but the link was not added correctly?) -- You received this message because you are subscribed to the Google Groups Haml group. To post to this group, send email to haml@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
[haml] Compile error in haml
I'm transitioning a rails 2.2.2 app from Centos 4 to Ubuntu 10. I'm getting a compile error in rails: ... On line #162 of app/views/projects/show.haml 159: = imported (ref:#{mi.myob_id}) 160: - else 161: %p (No milestone invoices to display) 162: = link_to 'Add milestone invoice', :controller = 'invoices', :action = 'new_sales', :id = @project 163: 164: %h2 Subcontractor milestone invoices 165: - if @project.invoices.subco_milestone.size 0 app/views/projects/show.haml:248:in `compile!' ... I'm using haml gem version 3.1.1. Has the syntax of link_to changed in haml? What is happening in this line? Thanks Nick -- You received this message because you are subscribed to the Google Groups Haml group. To post to this group, send email to haml@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
Re: [haml] Compile error in haml
link_to is a Rails method, not a Haml method. What's the error message? On Fri, May 6, 2011 at 2:08 PM, nick nick.mcfarl...@gmail.com wrote: I'm transitioning a rails 2.2.2 app from Centos 4 to Ubuntu 10. I'm getting a compile error in rails: ... On line #162 of app/views/projects/show.haml 159: = imported (ref:#{mi.myob_id}) 160: - else 161: %p (No milestone invoices to display) 162: = link_to 'Add milestone invoice', :controller = 'invoices', :action = 'new_sales', :id = @project 163: 164: %h2 Subcontractor milestone invoices 165: - if @project.invoices.subco_milestone.size 0 app/views/projects/show.haml:248:in `compile!' ... I'm using haml gem version 3.1.1. Has the syntax of link_to changed in haml? What is happening in this line? Thanks Nick -- You received this message because you are subscribed to the Google Groups Haml group. To post to this group, send email to haml@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en. -- You received this message because you are subscribed to the Google Groups Haml group. To post to this group, send email to haml@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.