summaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authoryushyin <yushyin@saga>2016-02-13 16:11:55 +0100
committeryushyin <yushyin@saga>2016-02-13 16:11:55 +0100
commit735933f28ca2b2c08a498fd7e8421222538010b8 (patch)
treea48b4a5bfbf5fc8279e974943c93600d13ea0c14 /vim/vimrc
parent0ceac89e28257375bd7c1238aab856acb6e7be84 (diff)
downloaddotfiles-735933f28ca2b2c08a498fd7e8421222538010b8.tar.gz
dotfiles-735933f28ca2b2c08a498fd7e8421222538010b8.tar.xz
Vim: Add vim-racer plugin
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 74dd1a5..9eea73a 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -74,6 +74,11 @@ if neobundle#tap('syntastic')
let g:syntastic_warning_symbol = '?'
call neobundle#untap()
endif
+if neobundle#tap('vim-racer')
+ function! neobundle#hooks.on_source(bundle)
+ let $RUST_SRC_PATH= $XDG_DATA_HOME . '/rustc_src_latest/src/'
+ endfunction
+endif
if neobundle#tap('base16-vim')
set bg=dark
let base16colorspace=256