You should try it with the same Erlang snippet as described above to
see what I'm seeing. My VimRC has filetype plugin and indent on, so I
have that covered. My indentation works perfectly for all other
filetypes, just not Erlang. You can do "set ft=erlang" or just save
the file as with the ".erl" extension.

Thomas

On Oct 23, 11:31 am, Csaba Hoch <[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.
>
> Hi,
>
> I could reproduce the behaviour that you described only when I removed
> the "filetype plugin indent on" line from my vimrc. In this case, the
> Python indentation became "unreliable", as well, so maybe that's not
> the problem. But maybe :) So you could check your vimrc.
>
> Csaba
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to