diff options
author | Julian T <julian@jtle.dk> | 2020-05-21 00:15:17 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-05-21 00:23:28 +0200 |
commit | d9b1cebe40b53a4d99bf1a8fdfcceeb471cbfded (patch) | |
tree | ab1851131ab30dbe9fa6ca823a85a9ef587887bb /vim | |
parent | 0395bcb124c3be383489c9ca1f9cd1c57081bcea (diff) |
Added echodoc
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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' |