2

I saw this repository. sublimehq/Packages I use sublime text 3, but I don't know tmLanguage file. Also I googled definition of it, but I couldn't find it. What is it?

MattDMo
  • 100,794
  • 21
  • 241
  • 231
neosarchizo
  • 648
  • 1
  • 7
  • 16

2 Answers2

5

tm stands for TextMate. It's a text editor for Mac OS X only and was revolutionary in its time since most of its features are pushed to extension packages instead of residing in the main program.

Sublime Text carried on the idea and made it cross platform. Sublime was designed to be compatible with TextMate extension packages.

Code Different
  • 90,614
  • 16
  • 144
  • 163
  • 1
    [tmLanguage is now deprecated](https://www.sublimetext.com/docs/3/syntax.html) in favour of `.sublime-syntax`, a YAML-based configuration format. – iono Dec 30 '20 at 13:04
1

Sublime text state's it on their website:

Syntax definitions use Textmate’s .tmLanguage extension for compatibility reasons. As explained further above, they are simply XML files in the Plist format.

yhussain
  • 298
  • 2
  • 16