Browse Source

Add YCM Rust completions

Andrew Swistak 8 years ago
parent
commit
5b7ff541ab
2 changed files with 2 additions and 1 deletions
  1. 1 1
      bin/manage_dotfiles.sh
  2. 1 0
      vimrc

+ 1 - 1
bin/manage_dotfiles.sh

@@ -101,7 +101,7 @@ compile_ycm() {
   fi
 
   cd "$DIR"/vim/bundle/YouCompleteMe
-  python2 ./install.py
+  python2 ./install.py --racer-completer
   cd "$DIR"
 }
 

+ 1 - 0
vimrc

@@ -446,3 +446,4 @@ map <F10> :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans
 \ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
 
 let g:rustfmt_autosave = 1
+let g:ycm_rust_src_path = '/usr/src/rust/src'