# Lingo for Sublime Text Syntax highlighting for **Adobe / Macromedia Director Lingo** in Sublime Text. Director may be retired, but plenty of Lingo code still lives on in old projects, archives and Shockwave-era games. This package makes reading and editing it in Sublime Text a lot more pleasant. ## Features - Highlighting for keywords, constants, `#symbols`, strings, numbers and operators - `-- comments`, with comment toggling via **Cmd+/** (macOS) or **Ctrl+/** (Windows/Linux) - Handler names (`on mouseUp`, `on exitFrame`, …) appear in **Goto Symbol** (Cmd+R / Ctrl+R) - Unclosed strings are flagged instead of colouring the rest of the file - Case-insensitive, like Lingo itself lingo_example Files with the `.lingo` and `.ls` extensions open with Lingo highlighting automatically. > **Note:** `.ls` is also used by LiveScript. If you have a LiveScript package installed, pick the syntax via **View → Syntax → Lingo**, or set it as the default for `.ls` files with **View → Syntax → Open all with current extension as… → Lingo**. ## Installation ### Manual 1. In Sublime Text, open **Settings → Browse Packages…** (on older versions: **Preferences → Browse Packages…**). 2. Create a folder named `Lingo` inside the `Packages` folder. 3. Copy `Lingo.sublime-syntax` and `Comments.tmPreferences` into that folder. No restart is needed. Package folder locations: | OS | Path | |---------|------| | macOS | `~/Library/Application Support/Sublime Text/Packages/` | | Windows | `%APPDATA%\Sublime Text\Packages\` | | Linux | `~/.config/sublime-text/Packages/` | ### Package Control Coming soon. ## Contributing Lingo has a large vocabulary and this is a first version. Missing keywords, wrong colours or other issues? Open an issue or a pull request — examples of real Lingo code that highlights badly are especially welcome. ## License [MIT](LICENSE) © 2026 @thewaysofwyrd