Skip to content

Ability to disable pygments highlighting even if pygments is installed #6906

@asottile

Description

@asottile

the docstring mentions a code_highlight setting but it seems it was not implemented

I'd like to be able to disable the syntax highlighting for a couple reasons:

  • the colors can be distracting
  • I'd like to be able to disable them for the tests in pygments-pytest (currently failing)

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: configrelated to config handling, argument parsing and config filetype: enhancementnew feature or API change, should be merged into features branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions