Skip to content

Commit

Permalink
Explain how to convert .tmLanguage.json and .tmLanguage.yml files…
Browse files Browse the repository at this point in the history
… in doc/assets.md
  • Loading branch information
rhysd authored and Enselic committed Oct 4, 2023
1 parent d376a4b commit 6568fb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ in the `.sublime-syntax` format.
2. If the Sublime Text syntax is only available as a `.tmLanguage` file, open the file in
Sublime Text and convert it to a `.sublime-syntax` file via *Tools* -> *Developer* ->
*New Syntax from XXX.tmLanguage...*. Save the new file in the `assets/syntaxes` folder.
If only `.tmLanguage.json` or `.tmLanguage.yml` file is available, use
[PackageDev](https://packagecontrol.io/packages/PackageDev) to convert it to `.tmLanguage.plist`
format and then rename the converted file to `.tmLanguage` file.

3. Run the `assets/create.sh` script. It calls `bat cache --build` to parse all available
`.sublime-syntax` files and serialize them to a `syntaxes.bin` file.
Expand Down

0 comments on commit 6568fb7

Please sign in to comment.