File viewer's SQL highlighting incorrect

Issue #17688 new
Jesse Bostic created an issue

It appears that files with the extension '.sql' may be using Pygment's Transact-SQL lexer for syntax highlighting, rather than the normal SQL lexer.

I did run a piece of code through Pygment's demo and found the outcome to support this theory... the demo correctly highlights the code using the SQL language selection, while using the Transact-SQL selection produces highlighting similar to Bitbucket Cloud.

Comments (0)

  1. Log in to comment