the lint we are using outputs warnings and info messages. they are all
in the same format:
"file_path",line_number message_type message_type_number: message

where message_type is either warning or info

however for some reason when a warning message is followed by an info
message quick fix puts all of the info message into the warning
message

here is an example

filepath1,123, Warning 3: this is a warning message 3 for filepath1
filepath1, 432, Info 4: this is an info message 4 for filepath1

quick fix will display this as follows:
filepath1|123 warning 4| this is a warning message 3 for filepath 1
this is an info message 4 for filepath1

here is my errorformat setting:
set errorformat=%I%p~,%C\"%f\"\\,%l%\\s%\\+Info\ %n:\ %m,%Z " lint
info with ~
set errorformat+=%I\"%f\"\\,%l%\\s%\\+Info\ %n:\ %m,%Z " lint info
set errorformat+=%W\"%f\"\\,%l%\\s%\\+Warning\ %n:\ %m,%Z " lint
warnings
set errorformat+=%E\"%f\"\\,%l%\\s%\\+Error\ %n:\ %m,%Z " lint errors

does anybody know why this is happening? any suggestions on how to
approach this problem?

-- 
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

Reply via email to