Found out the reason. I have this ruby indentation vim-file:
 http://www.vim.org/scripts/script.php?script_id=2742. It requires 
IndentAnything (http://www.vim.org/scripts/script.php?script_id=1839), which I 
had somehow removed. After re-installing it, everything works.

Tuo

--- On Mon, 12/14/09, Tuo Pe <[email protected]> wrote:

> From: Tuo Pe <[email protected]>
> Subject: Problem with indenting ruby code
> To: "Vim Users" <[email protected]>
> Date: Monday, December 14, 2009, 1:53 AM
> Something's wrong with ruby
> indentation settings. When I use snippets (if snippet in
> this case), I get
> 
> ____if <{condition}>
> ______<{}>
> ______end
> ______<{}>
> 
> How do I get "end" and the last "<{}>" to indented
> correctly?
> 
> Much oblige!
> 
> Tuo
> 
> 
> 
> 
>       
> 
> -- 
> You received this message from the "vim_use" maillist.
> For more information, visit http://www.vim.org/maillist.php
> 


      

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to