diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-07-18 19:40:27 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-07-18 19:40:27 +0200 |
commit | 9729301aa0b6a419dcd87fe9aeed72c367ae72ef (patch) | |
tree | 6b69898bbf1a090cdf1fd26720bc4cfcb90c897b /runtime/filetype.vim | |
parent | 0acc5618f6954c6faf57032d6b4f611de4254acb (diff) |
Updated runtime files.
Add missing test82 files.
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 0fac73fadc..e4c0d1af5c 100644 --- 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 |