In VIM one can force a file type by writing a modeline like this
# vim:syntax=html filetype=html
I'ld like to obtain the same thing for Sublime Text. For example I'ld like Sublime Text 2 to use MarkDown syntax for some file I have with .txt extension.
There is a Modelines plugin for Sublime Text: https://github.com/SublimeText/Modelines
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With