asbjornenge / Docker.tmbundle

Dockerfile syntax
MIT License
75 stars 27 forks source link

Mailing list archive text files recognized as Dockerfile #34

Closed dnicolson closed 2 years ago

dnicolson commented 3 years ago

Mailing list archives begin with the text From which apparently causes them to be identified as the type Dockerfile even though they have a .txt file extension.

Here is an example from the file mailing list:

Screen Shot 2021-03-21 at 16 04 14
princemaple commented 2 years ago

Hi, this is caused by the firstline match guessing. You can force it to display in other syntax with https://packagecontrol.io/packages/ApplySyntax