diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-08-24 22:16:11 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-08-24 22:16:11 +0000 |
commit | 6e7c7f3a19341d51dc32d98dd434173688ddd5f4 (patch) | |
tree | 47bf7d7944d912a5ea62ba22a81636f419bec45a /runtime/filetype.vim | |
parent | 5bcb2eba3dd76390a0ceed33f2e69dbf8519be50 (diff) | |
download | vim-git-6e7c7f3a19341d51dc32d98dd434173688ddd5f4.tar.gz |
updated for version 7.0136v7.0136
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 5172322ce..55cd02d32 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: 2005 Aug 17 +" Last Change: 2005 Aug 24 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -629,8 +629,8 @@ au BufNewFile,BufRead *.hex,*.h32 setf hex " Tilde (must be before HTML) au BufNewFile,BufRead *.t.html setf tilde -" HTML (.shtml and .stm for server side, .rhtml for Ruby html) -au BufNewFile,BufRead *.html,*.htm,*.shtml,*.rhtml,*.stm call s:FThtml() +" HTML (.shtml and .stm for server side) +au BufNewFile,BufRead *.html,*.htm,*.shtml,*.stm call s:FThtml() " Distinguish between HTML and XHTML fun! s:FThtml() @@ -645,6 +645,8 @@ fun! s:FThtml() setf html endfun +" HTML with Ruby - eRuby +au BufNewFile,BufRead *.rhtml setf eruby " HTML with M4 au BufNewFile,BufRead *.html.m4 setf htmlm4 |