autopygmentize: support more file types#2513
Merged
jeanas merged 1 commit intopygments:masterfrom Sep 27, 2023
Merged
Conversation
Contributor
|
xdg-mime is not going to be available on non-Linux-desktop Unices, such as
macOS.
Le lundi 18 septembre 2023 à 16:24 -0700, Reuben Thomas a écrit :
… Use xdg-mime instead of file.
Includes new languages; in particular, allow application/foo or text/foo for
scripting languages.
You can view, comment on, or merge this pull request online at: #2513
Commit Summary * e040aa7 autopygmentize: support more file types, use xdg-mime
File Changes
(1 file)
* M external/autopygmentize (46)
Patch Links: * https://github.com/pygments/pygments/pull/2513.patch
* https://github.com/pygments/pygments/pull/2513.diff
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID:
***@***.***>
|
Contributor
Author
|
Good point, I'll revert to file. |
Contributor
Author
|
I've made the update; thanks for your feedback! |
Includes new languages; in particular, allow application/foo or text/foo for scripting languages.
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 |
Contributor
Author
|
Many thanks for merging! Mille mercis ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use xdg-mime instead of file.
Includes new languages; in particular, allow application/foo or text/foo for
scripting languages.