{"action":"created","issue":{"url":"https://api.github.com/repos/github/linguist/issues/2627","labels_url":"https://api.github.com/repos/github/linguist/issues/2627/labels{/name}","comments_url":"https://api.github.com/repos/github/linguist/issues/2627/comments","events_url":"https://api.github.com/repos/github/linguist/issues/2627/events","html_url":"https://github.com/github/linguist/issues/2627","id":106138973,"number":2627,"title":"[Feature Request] Repository-local language highlighting","user":{"login":"jeaye","id":1057635,"avatar_url":"https://avatars.githubusercontent.com/u/1057635?v=3","gravatar_id":"","url":"https://api.github.com/users/jeaye","html_url":"https://github.com/jeaye","followers_url":"https://api.github.com/users/jeaye/followers","following_url":"https://api.github.com/users/jeaye/following{/other_user}","gists_url":"https://api.github.com/users/jeaye/gists{/gist_id}","starred_url":"https://api.github.com/users/jeaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeaye/subscriptions","organizations_url":"https://api.github.com/users/jeaye/orgs","repos_url":"https://api.github.com/users/jeaye/repos","events_url":"https://api.github.com/users/jeaye/events{/privacy}","received_events_url":"https://api.github.com/users/jeaye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-12T07:03:47Z","updated_at":"2015-09-24T21:52:26Z","closed_at":null,"body":"There are thousand of people on Github making their own languages, most of whom will never see linguist support. Still, why not allow these languages to be highlighted on their own, without explicitly adding them to linguist?\r\n\r\nIt's already possible to configure linguist using `.gitattributes`. I'm requesting that the functionality is added which allows configuration of specific file types to match a specific grammar, all of which is done local to a repository. This would allow the hypothetical Mary making her Gollum language to show proper highlighting to those potentially interested without having to modify linguist."},"comment":{"url":"https://api.github.com/repos/github/linguist/issues/comments/143060176","html_url":"https://github.com/github/linguist/issues/2627#issuecomment-143060176","issue_url":"https://api.github.com/repos/github/linguist/issues/2627","id":143060176,"user":{"login":"gappleto97","id":1554778,"avatar_url":"https://avatars.githubusercontent.com/u/1554778?v=3","gravatar_id":"","url":"https://api.github.com/users/gappleto97","html_url":"https://github.com/gappleto97","followers_url":"https://api.github.com/users/gappleto97/followers","following_url":"https://api.github.com/users/gappleto97/following{/other_user}","gists_url":"https://api.github.com/users/gappleto97/gists{/gist_id}","starred_url":"https://api.github.com/users/gappleto97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gappleto97/subscriptions","organizations_url":"https://api.github.com/users/gappleto97/orgs","repos_url":"https://api.github.com/users/gappleto97/repos","events_url":"https://api.github.com/users/gappleto97/events{/privacy}","received_events_url":"https://api.github.com/users/gappleto97/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T21:52:26Z","updated_at":"2015-09-24T21:52:26Z","body":"It would also be useful for distinguishing variants of languages. For example, one could differentiate between javascript, web worker javascript, and node.js javascript.\r\n\r\nSimilar things for header-only c++ files."}}