diff options
Diffstat (limited to 'js/baba-yaga/dev/sublime/README.md')
-rw-r--r-- | js/baba-yaga/dev/sublime/README.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/js/baba-yaga/dev/sublime/README.md b/js/baba-yaga/dev/sublime/README.md new file mode 100644 index 0000000..4150566 --- /dev/null +++ b/js/baba-yaga/dev/sublime/README.md @@ -0,0 +1,36 @@ +# Baba Yaga Sublime Text Syntax + +Syntax highlighting for the Baba Yaga programming language in Sublime Text. + +## Installation + +### Method 1: Manual Installation +1. Copy `Baba Yaga.sublime-syntax` to your Sublime Text packages directory: + - Windows: `%APPDATA%\Sublime Text\Packages\User\` + - macOS: `~/Library/Application Support/Sublime Text/Packages/User/` + - Linux: `~/.config/sublime-text/Packages/User/` + +2. Restart Sublime Text + +### Method 2: Create a Package +1. Create a folder named `Baba Yaga` in your Packages directory +2. Copy the syntax file into that folder +3. Restart Sublime Text + +## Features +- Syntax highlighting for Baba Yaga language +- Support for `.baba` files +- Highlighting for: + - Keywords (when, then, is, with, etc.) + - Operators (->, =>, +, -, etc.) + - Functions and variables + - Strings and numbers + - Comments (// and /* */) + - When expressions + - Types (Bool, Int, Float, etc.) + +## Usage +Open any `.baba` file and Sublime Text should automatically detect the language and apply syntax highlighting. + +## Customization +You can customize the colors by modifying your color scheme or creating a custom theme that targets the `source.baba-yaga` scope. |