Skip to content

Commit

Permalink
Added a src/etc/vim/ftdetect directory and file.
Browse files Browse the repository at this point in the history
Previously, in order to get vim's syntax highlighting,  you needed
to manually `:setf rust` on every file. Now vim will recognize *.rs
files as rust. This is a little nicer.
  • Loading branch information
tim committed Jan 21, 2012
1 parent 2a59ab8 commit 1290e41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/etc/vim/ftdetect/rust.vim
@@ -0,0 +1 @@
au BufRead,BufNewFile *.rs set filetype=rust

0 comments on commit 1290e41

Please sign in to comment.