Tom wrote:
> > I don't know how to read these graphs. Also, it's Debian only, suppose
> > the picture is very different for mac or MS-Windows users?
> >
> R is at position 33 in the tiobe index:
> http://www.tiobe.com/content/paperinfo/tpci/index.html
>
> rexx isn't listed at all. I doubt it has much of a following anymore.
OK, I'm convinced. I'll make the default R. I'll add a note in the
docs for Rexx users how they can change the default.
> > We could add a g:filetype_r variable to allow users to change the
> > fallback:
> >
> > " Nothing recognized, use user default or assume Rexx
> > if exists("g:filetype_r")
> > exe "setf " . g:filetype_r
> > else
> > setf rexx
> > endif
> >
> Would this special solution that works only for this extension
>
> let g:filetype_r = "r"
>
> really be an advantage over that
>
> au filetypedetect BufRead,BufNewFile *.R setf r
That the automatic detection still works.
> New users would have to edit personal configuration files one way or the
> other.
Yep.
> I could imagine some use of turning this into a general solution that's
> valid for all extensions though -- and thus replacing the filetypedetect
> autocommand group.
For most people setting a variable is a lot simpler than this
autocommand stuff.
--
"Never be afraid to tell the world who you are."
-- Anonymous
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" 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