Mercurial > vim
diff runtime/filetype.vim @ 10319:169a62d5bcb9
commit https://github.com/vim/vim/commit/b4ada79aa7d0d1e5da3a659b1a203d7cae9f7f59
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 30 21:55:26 2016 +0100
Runtime file updates.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 30 Oct 2016 22:00:04 +0100 |
parents | 07d2b5a3b7cc |
children | c78513465e6e |
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: 2016 Oct 15 +" Last Change: 2016 Oct 28 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -862,7 +862,7 @@ au BufNewFile,BufRead *.ht setf haste au BufNewFile,BufRead *.htpp setf hastepreproc " Hercules -au BufNewFile,BufRead *.vc,*.ev,*.rs,*.sum,*.errsum setf hercules +au BufNewFile,BufRead *.vc,*.ev,*.sum,*.errsum setf hercules " HEX (Intel) au BufNewFile,BufRead *.hex,*.h32 setf hex @@ -1760,6 +1760,9 @@ au BufNewFile,BufRead *.rb,*.rbw setf r " RubyGems au BufNewFile,BufRead *.gemspec setf ruby +" Rust +au BufNewFile,BufRead *.rs setf rust + " Rackup au BufNewFile,BufRead *.ru setf ruby