1. Error message can start from long word or the path to the file can be
long; in both of these cases the message will be moved to the next
line:
```
"/tmp/test_test_test_test_test_test_test_test_test.c",3 Error[Pe077]:
this declaration has no storage class or type specifier
```
To handle this `errorformat` will consider leading space as part of the
error message.
2. Some of the messages have `[note]:` prefix.
3. When messages come one after another, `%Z` is required to separate
them.
closes: #21360
Signed-off-by: Andrey Starodoubtsev <andrey.starodoubtsev@gehealthcare.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This directory contains Vim scripts to be used with a specific compiler.
They are used with the ":compiler" command.
These scripts usually set options, for example 'errorformat'.
See ":help write-compiler-plugin".
To undo the effect of a compiler plugin, use the make compiler plugin.
If you want to write your own compiler plugin, have a look at the other files
for how to do it, the format is simple.
If you think a compiler plugin you have written is useful for others, please
send it to the vim-dev mailing list: <vim-dev@vim.org>