Skip to content

Language Recognition Issue #6494

Answered by lildude
Makuaa asked this question in Classification
Jul 27, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

The file is being correctly identified as JSON (without the override) as you're getting correct syntax highlighting. The reason you're not seeing the language in the sidebar is because JSON is considered data so is excluded by default (see How Linguist Works).

If you want it to be considered in the stats and show in the sidebar you need to use the detectable override.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Makuaa
Comment options

Answer selected by Makuaa
Comment options

You must be logged in to vote
1 reply
@lildude
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants