From d9b1cebe40b53a4d99bf1a8fdfcceeb471cbfded Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 21 May 2020 00:15:17 +0200 Subject: Added echodoc --- vim/.vimrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index 10f64b6..1c9e5e2 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -17,6 +17,7 @@ set shellslash Plugin 'prabirshrestha/vim-lsp' Plugin 'fatih/vim-go' Plugin 'ajh17/VimCompletesMe' + Plugin 'Shougo/echodoc.vim' Plugin 'tpope/vim-surround' Plugin 'tpope/vim-repeat' @@ -57,6 +58,11 @@ set shellslash " let g:go_def_mode='gopls' " let g:go_info_mode='gopls' + if has('nvim') + let g:echodoc#enable_at_startup = 1 + let g:echodoc#type = 'virtual' + endif + autocmd FileType c let b:vcm_tab_complete = 'omni' autocmd FileType py let b:vcm_tab_complete = 'omni' autocmd FileType go let b:vcm_tab_complete = 'omni' -- cgit v1.2.3