Thursday, July 29, 2010

Re: language-specific indenting?

On Jul 29, 2010, at 6:55 PM, Lev Lvovsky wrote:

> So an emacs-using co-worker was surprised when he found out that *I* didn't know how to do this (taking it to mean that vim didn't):
>
> If I'm given a perl script (I'm using this as an example since it's an especially tricky thing to parse from what I understand), and it's not at all indented, can perl automatically indent it for me? Ideally, this would include things
^^^^

s/perl/vim.

thanks,
-lev


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: