summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-05-21 00:15:17 +0200
committerJulian T <julian@jtle.dk>2020-05-21 00:23:28 +0200
commitd9b1cebe40b53a4d99bf1a8fdfcceeb471cbfded (patch)
treeab1851131ab30dbe9fa6ca823a85a9ef587887bb /vim/.vimrc
parent0395bcb124c3be383489c9ca1f9cd1c57081bcea (diff)
Added echodoc
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc6
1 files changed, 6 insertions, 0 deletions
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'