summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-10-30 21:55:26 +0100
committerBram Moolenaar <Bram@vim.org>2016-10-30 21:55:26 +0100
commitb4ada79aa7d0d1e5da3a659b1a203d7cae9f7f59 (patch)
tree66eae772fda9599999682b9720e65822170140b1 /runtime/filetype.vim
parentfb63090b62801d718fe7e1f44407358404c08724 (diff)
Runtime file updates.
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim7
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 482ec17384..75e8fa05f3 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: 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 ruby
" RubyGems
au BufNewFile,BufRead *.gemspec setf ruby
+" Rust
+au BufNewFile,BufRead *.rs setf rust
+
" Rackup
au BufNewFile,BufRead *.ru setf ruby