Fix get_formatter_for_filename on plugin formatters by jeanas · Pull Request #2563 · pygments/pygments

Plugin formatters would work via pygmentize -f or pygments.formatters.find_formatter_class, but not via pygmentize -o autodetect-formatter-from-extension.formatterext or pygments.formatters.get_formatter_for_filename.

I'm not sure there is a way to test it, I would have to investigate more. Maybe tox has some option to install a local package in the test environment.