github-linguist / linguist

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
MIT License
11.99k stars 4.15k forks source link

Administrative Templates (ADMX/ADML) #1629

Closed trockenasche closed 9 years ago

trockenasche commented 9 years ago

Administrative Templates files .ADMX .ADML are XML Syntax Files. There are for Group Policy Administrative Template settings. Possible to add them for XML highlighting?

trockenasche commented 9 years ago

For more information have a look at http://technet.microsoft.com/de-de/library/cc709647(v=ws.10).aspx

pchaigno commented 9 years ago

I could only find 26 files for .admx and 84 files for .adml. From the README:

We try to only add languages once they have some usage on GitHub, so please note in-the-wild usage examples in your pull request.

This is also valid for new extension. I'm afraid these extensions are not used enough on GitHub to be recognized by Linguist.

trockenasche commented 9 years ago

It's possible to set XML Highlighting for the .admx in my github repo?

pchaigno commented 9 years ago

I think it should be possible with the new linguist-override feature but I can't find how... Maybe it's not possible because Linguist doesn't even consider the files in the first place. @arfon Do you if we can override Linguist detection to recognize .admx files as XML?

trockenasche commented 9 years ago

still doesn't work, does it?

arfon commented 9 years ago

It's possible to set XML Highlighting for the .admx in my github repo?

Hi @trockenasche - the linguist-overrides are currently only for language statistics and do not override the highlighting on GitHub.com so unfortunately what you're trying to do won't work sorry.

trockenasche commented 9 years ago

okay, thanks.