X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/09442c667671c794d94b13446fe135ec211f72ae..d31d8bdb03567a9d0b60318590a1b580ee156af6:/vim/ftplugin/cmake.vim diff --git a/vim/ftplugin/cmake.vim b/vim/ftplugin/cmake.vim index 7702eb0..59c5fa4 100644 --- a/vim/ftplugin/cmake.vim +++ b/vim/ftplugin/cmake.vim @@ -7,3 +7,12 @@ let g:switch_custom_definitions = \ [ \ ['ON', 'OFF'] \ ] + +setlocal errorformat= +setlocal errorformat+=%+ICall\ Stack%.%#:,%Z\ \ %f:%l\ (%o) +setlocal errorformat+=CMake\ %trror\ at\ %f:%l\ (%o): +setlocal errorformat+=CMake\ %tarning\ at\ %f:%l\ (%o): +" TODO: capture multiline error message to display in qf +" setlocal errorformat+=%C\ \ %m +" setlocal errorformat+=%ECMake\ %terror%.%#\ at\ %f:%l\ (%o):,%Z\ \ %m +" setlocal errorformat+=%WCMake\ %tarning%.%#\ at\ %f:%l\ (%o):,%Z\ \ %m