No luck with those. I tried this on GVim (Windows), MacVim, and vim
from the terminal (the latter two on my Mac) and got the same results.
nopaste was set, and indentkeys includes 'o' in addition to quite a
few others.

Thomas

On Oct 22, 10:04 am, Ben Schmidt <[EMAIL PROTECTED]>
wrote:
> 703designs wrote:
> > If I type in:
>
> > Redskins = {team,<CR>{name, "redskins"}}.
>
> > After the carriage return, Vi should indent as:
>
> > Redskins = {team,
> >     {name, "redskins"}}.
>
> > But instead, the second line isn't indented. And I know that Vi
> > understands Erlang indentation because, after typing this, if I indent
> > the line (==), it indents properly. What's the deal? Indentation
> > always is invoked with a carriage return with other filetypes.
>
> It works for me. Perhaps you have somehow inadvertedly set 'paste'?
> Check
>
>      :set paste?
>
> and/or issue
>
>      :set nopaste
>
> and see if that fixes it. If not, perhaps check
>
>      :set indentkeys?
>
> and/or
>
>      :set indentkeys+=o
>
> Those are the most likely things I can think of that would cause the
> problem. Once you've tracked down what the problem is, find its cause by
> adding :verbose to the queries, e.g.
>
>      :verbose set paste?
>
> and you'll be able to track down the rogue script that's messing it up
> (hopefully).
>
> Cheers,
>
> Ben.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to