briancollins/vim-jst — Issue #2: Indentation issues
Author: eric-hu
Created: 2011-11-17 00:12:34+00:00
State: open

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, though

.submit_wr
%input{:type => "submit", :value => "Create Membership"}

Hitting enter after the cursor is at the right curly brace, this becomes

.submit_wr
%input{:type => "submit", :value => "Create Membership"}
%

Similarly, adding a left curly brace will unindent text as well:

.submit_wr
%input{:type => "submit", :value => "Create Membership"}{