Wrong syntax highlight / indentation for nestable multi line comments
Geod24 opened this issue · comments
// Single line
/* Multi
Line
Comment
*/
/+ Nestabled
/+
Multi
/+
Line
+/ Comment +/ +/
void main () {}
Looks like the issue is present on Github as well... So I guess it's @jacob-carlborg 's territory ?
I can reproduce it in TextMate as well. I created an issue in the D bundle repository: textmate/d.tmbundle#20. I'll take a look when I have some time.
Fixed in the TextMate bundle: textmate/d.tmbundle#20. I don't know how the procedure for updating the bundle used by GitHub works.
Fixed in the TextMate bundle: textmate/d.tmbundle#20. I don't know how the procedure for updating the bundle used by GitHub works.
https://github.com/github/linguist/blob/master/CONTRIBUTING.md#fixing-syntax-highlighting
https://github.com/github/linguist/tree/master/vendor
Last update was in June though: github-linguist/linguist#4881
BTW the tour uses CodeMirror (https://github.com/dlang-tour/core/tree/master/public/static/lib/codemirror).
See also: https://github.com/codemirror/CodeMirror/tree/master/mode/d
Regarding Github, we might be lucky: github-linguist/linguist#5084 :)
Regarding Github, we might be lucky: github/linguist#5084 :)
You definitely will be. 😁
This is the change from the grammar that will be pulled in in this next Linguist release which looks to include the changes in textmate/d.tmbundle#20
Oops, we broke something 💥
/++
Someone's having a bad time
+/
void myFunction () {}
Oops, we broke something 💥
My bad, should be fixed in: textmate/d.tmbundle@e031d03.