Mercurial > vim
diff runtime/doc/quickfix.txt @ 791:98a88a884610 v7.0230
updated for version 7.0230
author | vimboss |
---|---|
date | Mon, 20 Mar 2006 21:59:49 +0000 |
parents | 1a44839049ae |
children | 95dac6af3b3a |
line wrap: on
line diff
--- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim version 7.0aa. Last change: 2006 Mar 19 +*quickfix.txt* For Vim version 7.0aa. Last change: 2006 Mar 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -878,6 +878,7 @@ prefixes are: %W start of a multi-line warning message %I start of a multi-line informational message %A start of a multi-line message (unspecified type) + %> for next line start with current pattern again |efm-%>| %C continuation of a multi-line message %Z end of a multi-line message These can be used with '+' and '-', see |efm-ignore| below. @@ -929,6 +930,17 @@ starting with a space, followed by any c it also hides line 7 which would trigger a separate error message otherwise. Error format strings are always parsed pattern by pattern until the first match occurs. + *efm-%>* +The %> item can be used to avoid trying patterns that appear earlier in +'errorformat'. This is useful for patterns that match just about anything. +For example, if the error looks like this: + + Error in line 123 of foo.c: ~ + unknown variable "i" ~ + +This can be found with: > + :set efm=xxx,%E%>Error in line %l of %f:,%Z%m +Where "xxx" has a pattern that would also match the second line. Important: There is no memory of what part of the errorformat matched before; every line in the error file gets a complete new run through the error format