Parsing modelines for syntax highlighting (BB-4159)
One of my projects contains a C++ include file without a suffix (following the scheme used in standard C++ library). Thus, it is impossible to determine the correct syntax highlighting by filename and bitbucket fails to highlight it, as you can see here:
As you can see, the file ends with a vim modeline specifying the correct syntax. Maybe bitbucket could parse that in order to determine the language for syntax highlighting.