Skip to content

Commands relying on $VIM env var stop working properly when using dispatch #308

Description

@foca

Specifically, the minitest-reporters gem relies on $VIM being set to identify when running through vim to disable any fancy formatting and just outputting test results in a format that can be parsed back into the quicklist.

Since dispatch#isolate removes VIM, this then breaks, leading to garbled output. The quicklist then works, but looks ugly with color codes printed in between the output:

Screen Shot 2020-12-20 at 17 35 23

Could dispatch be made configurable to add a list of variables that can be kept while isolating? (or can it just be made available to the underlying process instead of stripping it from the env?)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions