On 23/05/11 11:32 PM, cyboman wrote:
my compiler produces errors/warnings in the following format:"path\to\fiile1",line_number level[tag]: message ("file1",53 Warning[Te551]: message for file 1) where level is either warning/info/error, and tag is usually two letters and a number (Te551). right now i have my errorformat set to set errorformat+=%E\"%f\"\\,%l%\\s%\\+Error%m,%Z " compiler error set errorformat+=%W\"%f\"\\,%l%\\s%\\+Warning%m,%Z " compiler warning set errorformat+=%I\"%f\"\\,%l%\\s%\\+Info%m,%Z " compiler info which is displayed in the quick fix as file1|53 warning| [Te551]: message for file 1 however i would like the tag to be displayed inside the vertical bars (||), i.e something like this: file1|53 warning Te551| message for file 1 does anybody know if this is possible?
Pretty sure that's not possible. The stuff inside the vertical bars is the stuff Vim has recognised/interpreted. It's only 'good luck' in this case that it looks as close to the original messages as it does. The only way to get something else in there would be to match it with something special, and Vim doesn't have any match for an alphanumeric error code. Ben. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
