]> git.rmz.io Git - dotfiles.git/commitdiff
vim/cpp: add errorformat used for a long time at fpp
authorSamir Benmendil <me@rmz.io>
Thu, 9 Jun 2022 13:09:11 +0000 (14:09 +0100)
committerSamir Benmendil <me@rmz.io>
Thu, 9 Jun 2022 13:10:42 +0000 (14:10 +0100)
I don't know what these match.

vim/ftplugin/cpp.vim

index 9834dcfa53940eed80ab6e00cb5b65a056770d7b..76b5a55c50b9896a35ade994166c80bcc52b1596 100644 (file)
@@ -69,6 +69,11 @@ nmap <buffer> gh <plug>(YCMHover)
 nmap <buffer> gH :YcmCompleter GetDoc<CR>
 
 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'