enhancement: add missing common file extensions to language detection - #945
Open
Lakshay Chauhan (nos1dot618) wants to merge 1 commit into
Open
Conversation
Author
|
Hey Leonard Hecker (@lhecker), Dustin L. Howett (@DHowett), could you please review this PR. |
Author
There was a problem hiding this comment.
Not related: This is missing highlighting support for multiple languages in fenced code block.
Not sure, whether this is relevant for this PR or not.
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.
This adds support for several commonly used file extensions that are currently missing from the existing LSH language definitions.
Scope
The changes are limited to existing language definitions and do not introduce any new dependencies or syntax highlighting logic.
The changes include:
.hh,.hxx, and.ixx.fsscript.jsonland.ndjson.markdown.xhtml.xmlpath from the XML definitionValidation
cargo test -qThese changes only expand file extension detection for existing language definitions and should not affect the highlighting behavior of existing file types.
Notes