X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/5f86da4c7a08b25e28a9ed1c72d3ae1c931a1bde..217ecdcf208fb4e4b94c3dcc25c57baf6b66e83e:/vim/ftplugin/cpp.vim diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index 807ef89..fcd8066 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -62,6 +62,12 @@ vnoremap = :YcmCompleter Format nnoremap g= = vnoremap g= = +" hover popup +let g:ycm_auto_hover = '' +let b:ycm_hover = { 'command': 'GetDoc', 'syntax': &filetype } +nmap gh (YCMHover) +nmap gH :YcmCompleter GetDoc + setlocal errorformat= setlocal errorformat+=%f:%l:%c:\ %trror:\ %m setlocal errorformat+=%f:%l:%c:\ %tarning:\ %m