summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
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'