Add rusty-tags support
This commit is contained in:
parent
34abb66cc9
commit
bf7c114395
@ -1,5 +1,3 @@
|
||||
let g:tagbar_ctags_bin = '/usr/bin/universal-ctags'
|
||||
|
||||
let g:rust_doc#define_map_K = 0
|
||||
let g:rust_doc#downloaded_rust_doc_dir = '~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu'
|
||||
|
||||
@ -16,6 +14,13 @@ endfunction
|
||||
nnoremap <buffer><silent><F7> :<C-u>call <SID>search_under_cursor(expand('<cword>'))<CR>
|
||||
vnoremap <buffer><silent><F7> "gy:call <SID>search_under_cursor(getreg('g'))<CR>
|
||||
|
||||
" rusty-tags
|
||||
autocmd BufRead *.rs :setlocal tags=./rusty-tags.vi;/
|
||||
autocmd BufWritePost *.rs :silent! exec "!rusty-tags vi --quiet --start-dir=" . expand('%:p:h') . "&" | redraw!
|
||||
|
||||
let g:tagbar_ctags_bin = '/usr/bin/exuberant-ctags'
|
||||
|
||||
|
||||
" nnoremap <F3> :call LanguageClient_contextMenu()<CR>
|
||||
" nnoremap <silent> <F4> :call LanguageClient#textDocument_definition()<CR>
|
||||
" nnoremap <silent> <F6> :call LanguageClient#textDocument_hover()<CR>
|
||||
|
Loading…
Reference in New Issue
Block a user