Added a src/etc/vim/ftdetect
directory and file.
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.
This commit is contained in:
parent
2a59ab8fa5
commit
1290e4181c
1
src/etc/vim/ftdetect/rust.vim
Normal file
1
src/etc/vim/ftdetect/rust.vim
Normal file
@ -0,0 +1 @@
|
||||
au BufRead,BufNewFile *.rs set filetype=rust
|
Loading…
Reference in New Issue
Block a user