Skip to content

Conversation

@kdeldycke
Copy link
Contributor

This PR update all example files so they match their lexer's file extension.

It also fixes inconsistencies between example files' folders and their matching lexer's alias.

To prevent any further inconsistencies to be introduced, a couple of tests are added in the test suite to enforce this alignments.

This is a follow up on #2442 and #2712.

@kdeldycke kdeldycke changed the title Aligns example files to their lexer's file extensions Aligns example files and lexer's filename pattern matching May 19, 2024
@Anteru
Copy link
Collaborator

Anteru commented May 19, 2024

Thanks for all the work, that helps quite a bit with ad-hoc testing if XML files for example end with .xml :)

@Anteru Anteru merged commit b2ddf9e into pygments:master May 19, 2024
@kdeldycke
Copy link
Contributor Author

Thanks for the quick merge!

@kdeldycke kdeldycke deleted the lexer-examples branch May 19, 2024 17:12
@Anteru Anteru added this to the 2.19.0 milestone Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants