diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-10-21 03:02:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-10-21 03:02:54 +0200 |
commit | 3a0d8090b1356833e1c80d22f36086c835604f42 (patch) | |
tree | 4e13cce7e070c209ea46201e12d849f45114d5fe /runtime/filetype.vim | |
parent | 67a4f6cfb4fe0f8e8cc576a4f4196573ccc5e3fb (diff) | |
download | vim-3a0d8090b1356833e1c80d22f36086c835604f42.zip |
Updated runtime files.
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 8162acec8..1f5929091 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1566,7 +1566,7 @@ au BufNewFile,BufRead *.reg au BufNewFile,BufRead *.rib setf rib " Rexx -au BufNewFile,BufRead *.rexx,*.rex,*.jrexx,*.rxj,*.orx setf rexx +au BufNewFile,BufRead *.rex,*.orx,*.rxo,*.rxj,*.jrexx,*.rexxj,*.rexx,*.testGroup,*.testUnit setf rexx " R (Splus) if has("fname_case") @@ -1884,6 +1884,8 @@ au BufNewFile,BufRead *.st setf st au BufNewFile,BufRead *.cls \ if getline(1) =~ '^%' | \ setf tex | + \ elseif getline(1)[0] == '#' && getline(1) =~ 'rexx' | + \ setf rexx | \ else | \ setf st | \ endif |