I can't indent html at all.

Tim Pope vim-ruby-devel at tpope.info
Sun May 13 22:06:25 EDT 2007

On Sun, May 13, 2007 at 06:02:25PM -0500, Ryan Shillington wrote:
> Yes, "set indentexpr?" returns "GetErubyIndent()".
> When I put my cursor on the <tr> line in your example, I get zero - no error
> messages.  Strange.
> When I wrapped it in a ruby <% if %> statement, it returned 2 - so it's
> returning the right number, its just not taking the HTML level into
> account.   Really strange.

Try :echo HtmlIndentGet(line('.')) and see what that says.  Then try
:set ft=html and the same echo command and see if it changes.

You should also to try experimenting with removing all other plugins.
I'm starting to suspect foul play on someone else's part.


More information about the vim-ruby-devel mailing list