mustache / vim-mustache-handlebars

mustache and handlebars mode for vim
mustache.github.io
455 stars 49 forks source link

Third line of multi-line block isn't indented initially #99

Open jsit opened 4 years ago

jsit commented 4 years ago

When manually typing a multi-line block, the third line weirdly starts out de-indented, then indents correctly when a newline is entered:

1.

Screen Shot 2020-08-09 at 5 57 41 PM
  1. Screen Shot 2020-08-09 at 5 57 52 PM
  2. Screen Shot 2020-08-09 at 5 57 56 PM

Notice the fourth line indents correctly when it's reached.

jsit commented 4 years ago

This seems to have something to do with this conditional. I think we need to increase ind by another sw there, but it's not happening.