Open eric-hu opened 12 years ago
Are you generating Haml with a jst template?
With the jst.ejs.haml
format, I'm generating a jst template file from haml on the server, then sending it down to the client. The client interprets the jst template file and builds out HTML elements from it. It's a bit convoluted, but has been the fastest way I've found to build out views using Backbone.js
Thanks for writing this plugin! It's been a huge help for me in working with Backbone.js
I've been having some indentation issues with
.jst.ejs.haml
files--I'm not sure if this is stepping outside the scope of your intended use for vim-jst. I can provide an example, thoughHitting enter after the cursor is at the right curly brace, this becomes
Similarly, adding a left curly brace will unindent text as well: