X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/56388f1e2bc97e149a6cb95ae9d9c32bbaa54207..8b9452d9fc07c1c85a09d63906f3fd5e46ab8beb:/vim/ftplugin/cpp.vim?ds=inline diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index c053fcc..76b5a55 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -69,6 +69,11 @@ nmap gh (YCMHover) nmap gH :YcmCompleter GetDoc setlocal errorformat= +" TODO I don't remember these errorformat or what they match, maybe CMake? {{{ +setlocal errorformat+=\ %##%n\ %m\ %f:%l:%c +setlocal errorformat+=\ %##%n\ %m\ %f +setlocal errorformat+=%n +"}}} setlocal errorformat+=%f:%l:%c:\ %trror:\ %m setlocal errorformat+=%f:%l:%c:\ %tarning:\ %m setlocal errorformat+=%D%*\\a[%*\\d]:\ Entering\ directory\ [`']%f' @@ -91,10 +96,6 @@ function! s:Debug(...) nnoremap :Step nnoremap :Over nnoremap :Finish - nnoremap :call TermDebugSendCommand('advance -source '.expand('%').' -line '.line(".")) - nnoremap :Step - nnoremap :Over - nnoremap :Finish endfunction command! -nargs=* -complete=file -bang Debug call Debug() | Termdebug command! -nargs=+ -complete=file -bang DebugCommand call Debug() | TermdebugCommand