Browse Source

Add rust.vim

Andrew Swistak 8 years ago
parent
commit
a563e13e10
3 changed files with 5 additions and 0 deletions
  1. 3 0
      .gitmodules
  2. 1 0
      vim/bundle/rust.vim
  3. 1 0
      vimrc

+ 3 - 0
.gitmodules

@@ -137,3 +137,6 @@
 [submodule "vim/bundle/vim-colorful-go"]
 	path = vim/bundle/vim-colorful-go
 	url = https://github.com/ajswis/vim-colorful-go
+[submodule "vim/bundle/rust.vim"]
+	path = vim/bundle/rust.vim
+	url = https://github.com/rust-lang/rust.vim.git

+ 1 - 0
vim/bundle/rust.vim

@@ -0,0 +1 @@
+Subproject commit 5a6133680ecf9e22eeba35c35e62ea6210225b02

+ 1 - 0
vimrc

@@ -445,3 +445,4 @@ map <F10> :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans
 \ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<"
 \ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
 
+let g:rustfmt_autosave = 1