vimrc/racer.vim

10 lines
254 B
VimL
Raw Normal View History

2017-09-09 17:02:44 +00:00
set hidden
let g:racer_cmd = "/home/cmdln/.cargo/bin/racer"
au FileType rust nmap gd <Plug>(rust-def)
au FileType rust nmap gs <Plug>(rust-def-split)
au FileType rust nmap gx <Plug>(rust-def-vertical)
au FileType rust nmap <leader>gd <Plug>(rust-doc)