Saturday, August 22, 2009

Re: R indentation

On Aug 22, 12:17 am, Tom <micat...@gmail.com> wrote:
> > I don't specify any options except that I copy your vim code into
> > '~/.vim/indent/r.vim'. Do you know how I may find what is causing the
> > problem?
>
> Is the filetype actually set to R? By default, the .R suffix is mapped
> to rexx.

That's a likely candidate. But for completeness, what is the output of
the following when you are editing one of your 'R' files (with the
trailing '?' where it is present)?

:verbose set smartindent?
:verbose set autoindent?
:verbose set indentexpr?
:filetype
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

No comments:

Post a Comment