From 6568fb775d8ace3bb9f48f03462fc2321bc7c4ee Mon Sep 17 00:00:00 2001 From: rhysd Date: Tue, 3 Oct 2023 02:50:00 +0900 Subject: [PATCH] Explain how to convert `.tmLanguage.json` and `.tmLanguage.yml` files in doc/assets.md --- doc/assets.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/assets.md b/doc/assets.md index 8641188c..a06a1e67 100644 --- a/doc/assets.md +++ b/doc/assets.md @@ -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.