X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/aeb2c95c2f2dcba4aa134b338b5151c905ee3f9e..bfa7a2383b6e7742a6659578f4cc1f0ccee5a184:/vim/ftplugin/cpp.vim?ds=inline 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