From 195ee3ac98f0ac8e0701286c87a75ea1bcde52ac Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 9 Jun 2022 14:09:11 +0100 Subject: [PATCH] vim/cpp: add errorformat used for a long time at fpp I don't know what these match. --- vim/ftplugin/cpp.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index 9834dcf..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' -- 2.48.1