diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2013-09-26 12:44:31 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2013-09-26 12:44:31 +0200 |
commit | 90d87abd3051c5acf15bc352c9f51f18e23b7095 (patch) | |
tree | bf13d90559fdbfeeb7cf79cb0c2e04edfeed7443 /ftdetect | |
parent | d6710f1b578ee233e92d1810fdb3e5c9fba651f7 (diff) | |
download | vim-polyglot-90d87abd3051c5acf15bc352c9f51f18e23b7095.tar.gz vim-polyglot-90d87abd3051c5acf15bc352c9f51f18e23b7095.zip |
Add Rust lang support
Diffstat (limited to '')
-rw-r--r-- | ftdetect/polyglot.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 2ed87038..3c2604c0 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -104,6 +104,7 @@ au BufNewFile,BufRead *.jbuilder set filetype=ruby au BufNewFile,BufRead Puppetfile set filetype=ruby au BufNewFile,BufRead [Bb]uildfile set filetype=ruby au BufNewFile,BufRead Appraisals set filetype=ruby +au BufRead,BufNewFile *.rs,*.rc set filetype=rust au BufRead,BufNewFile *.sbt set filetype=sbt fun! s:DetectScala() if getline(1) == '#!/usr/bin/env scala' |