nnoremap <buffer>g= =
vnoremap <buffer>g= =
+" hover popup
+let g:ycm_auto_hover = ''
+let b:ycm_hover = { 'command': 'GetDoc', 'syntax': &filetype }
+nmap <buffer> gh <plug>(YCMHover)
+nmap <buffer> gH :YcmCompleter GetDoc<CR>
+
setlocal errorformat=
setlocal errorformat+=%f:%l:%c:\ %trror:\ %m
setlocal errorformat+=%f:%l:%c:\ %tarning:\ %m
nnoremap <buffer> <C-S> :Step<CR>
nnoremap <buffer> <C-N> :Over<CR>
nnoremap <buffer> <C-F> :Finish<CR>
+ nnoremap <buffer> <C-T> :call TermDebugSendCommand('advance -source '.expand('%').' -line '.line("."))<CR>
+ nnoremap <buffer> <C-S> :Step<CR>
+ nnoremap <buffer> <C-N> :Over<CR>
+ nnoremap <buffer> <C-F> :Finish<CR>
endfunction
command! -nargs=* -complete=file -bang Debug call <SID>Debug() | Termdebug<bang> <args>
command! -nargs=+ -complete=file -bang DebugCommand call <SID>Debug() | TermdebugCommand<bang> <args>