> 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
The output of the above 4 commands are listed below.
nosartindent
noautoindent
indentexpr=GetRIndent()
Last set from ~/.vim/indent/r.vim
filetype detection:ON plugin:ON indent:ON
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment