8000 Vroom should fail on any unexpected ErrorMsg-highlighted messages · Issue #55 · google/vroom · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Aug 15, 2026. It is now read-only.
< 8000 link rel="modulepreload" href="https://github.githubassets.com/assets/en-b91ae1bc8ac485d3.js" crossorigin="anonymous" />
This repository was archived by the owner on Aug 15, 2026. It is now read-only.

Vroom should fail on any unexpected ErrorMsg-highlighted messages #55

Open

Description

@dbarnett

Vroom's default message strictness setting is GUESS-ERRORS, which uses heuristics to detect messages that look like errors (lines starting with E\d+, ERR, "Error detected while processing", etc). Instead, this mode should fail whenever it encounters a message echoed using the bright red ErrorMsg highlight group.

We haven't been able to do this so far because vimscript doesn't offer any way to programmatically query the highlighting for echoed messages, only the text, but using a libexpect-based runner (#41) might allow us to revisit this.

Activity

  1. dbarnett commented on Oct 1, 2014

    @dbarnett
    ContributorAuthor

    The heuristics get confusing while working on a plugin that catches and prints red highlighted error messages for errors in user commands, since you'll encounter errors but vroom will just report that the command didn't work without mentioning that there was an error message. Actually, we should probably just always include unexpected messages in the output for other types of errors (syscall expectations, buffer content checks, etc.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0