4 ms·
language detection is a bit broken. Both documents I tried were wrongly detected. ascii text was read as .vbs, and a rails controller was read as .py. I see in
by kennywinker 15y ago
language detection is a bit broken. Both documents I tried were wrongly detected. ascii text was read as .vbs, and a rails controller was read as .py.
I see in the comments I can just change the suffix to get different highlighting, but just thought I'd mention this.
- JoshMock 15y agoMy thoughts exactly. I wrote a line of plain text and it thought it was .vbs. It got a .py right, but only because I made sure it was distinct enough from Ruby for it to know the difference.