spig / pygments-xquery-lexer

A pygments lexer for the xquery language
4 stars 1 forks source link

Adding to the list of XQuery file extensions #2

Closed joewiz closed 12 years ago

joewiz commented 12 years ago

First, thank you for adding XQuery syntax highlighting to Github! I was just looking at a file I committed to github and was wondering why the syntax highlighting wasn't being applied: https://github.com/joewiz/unzip/blob/master/unzip/unzip.xql. Is it because .xql isn't in the list of known XQuery file extensions that Github is using? I see that the two extensions explicitly declared in your parser are .xqy and .xquery. Would it be possible to add .xq, .xql, and .xqm? Thanks for your time.

spig commented 12 years ago

I submitted an pull request to the pygments repo. Once that's accepted then github just has to update the pygments library and I think it will work.

joewiz commented 12 years ago

Thank you!