Monday, December 14, 2009

Re: Problem with indenting ruby code (SOLVED!)

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 <tuo_pe@yahoo.com> wrote:

> From: Tuo Pe <tuo_pe@yahoo.com>
> Subject: Problem with indenting ruby code
> To: "Vim Users" <vim@vim.org>
> 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

No comments: