-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a -lang option for setting the highlighting language #180
Merged
Commits on Jan 1, 2024
-
This changes the highlighting API to take a string instead of a file because strings are what Chroma can highlight. With this change in place, we should invoke the highlighter after we're done reading the input. This will allow highlighting both files (as before) and streaming input. This also moves the responsibility of checking the file against the max highlight size from the highlighter to the caller.
Configuration menu - View commit details
-
Copy full SHA for 2d2844f - Browse repository at this point
Copy the full SHA 2d2844fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8d7637 - Browse repository at this point
Copy the full SHA d8d7637View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52e04a6 - Browse repository at this point
Copy the full SHA 52e04a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 855a6bf - Browse repository at this point
Copy the full SHA 855a6bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c86039 - Browse repository at this point
Copy the full SHA 6c86039View commit details
Commits on Jan 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b7603ea - Browse repository at this point
Copy the full SHA b7603eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfbbcb7 - Browse repository at this point
Copy the full SHA cfbbcb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6d6219 - Browse repository at this point
Copy the full SHA a6d6219View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4264d27 - Browse repository at this point
Copy the full SHA 4264d27View commit details -
After testing. The invalid value is already printed by the framework, no need to include it in the error message.
Configuration menu - View commit details
-
Copy full SHA for cd2a8a9 - Browse repository at this point
Copy the full SHA cd2a8a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb07ce3 - Browse repository at this point
Copy the full SHA cb07ce3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5fb484 - Browse repository at this point
Copy the full SHA d5fb484View commit details
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.