Mercurial > vim
diff runtime/filetype.vim @ 2965:f2de38a019a2
Updated runtime files.
Add missing test82 files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 18 Jul 2011 19:40:27 +0200 |
parents | fd09a9c8468e |
children | 3502a7f991fc |
line wrap: on
line diff
--- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2011 Jun 13 +" Last Change: 2011 Jul 17 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -1588,8 +1588,13 @@ func! s:FTr() endif endfor - " Nothing recognized, assume Rexx - setf rexx + " Nothing recognized, use user default or assume Rexx + if exists("g:filetype_r") + exe "setf " . g:filetype_r + else + " Rexx used to be the default, but R appears to be much more popular. + setf r + endif endfunc " Remind