Skip to content

Conversation

@rrthomas
Copy link
Contributor

Use xdg-mime instead of file.

Includes new languages; in particular, allow application/foo or text/foo for
scripting languages.

@jeanas
Copy link
Contributor

jeanas commented Sep 18, 2023 via email

@rrthomas
Copy link
Contributor Author

Good point, I'll revert to file.

@rrthomas
Copy link
Contributor Author

I've made the update; thanks for your feedback!

@rrthomas rrthomas changed the title autopygmentize: support more file types, use xdg-mime autopygmentize: support more file types Sep 22, 2023
Includes new languages; in particular, allow application/foo or text/foo for
scripting languages.
@rrthomas
Copy link
Contributor Author

I have also updated the title of the PR and the commit message to reflect the fact that this PR no longer switches to xdg-mime but merely updates MIME types.

@jeanas jeanas merged commit e30b5c5 into pygments:master Sep 27, 2023
@rrthomas
Copy link
Contributor Author

Many thanks for merging! Mille mercis !

@Anteru Anteru added this to the 2.17 milestone Nov 17, 2023
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.

3 participants