An open API service indexing awesome lists of open source software.

https://github.com/molnarmark/sublime-gleam

⭐️ Syntax Definitions for the Gleam Programming Language in Sublime Text
https://github.com/molnarmark/sublime-gleam

gleam gleam-lang sublime sublime-plugin sublime-text sublime-text-3

Last synced: about 1 month ago
JSON representation

⭐️ Syntax Definitions for the Gleam Programming Language in Sublime Text

Awesome Lists containing this project

README

        

# ⭐️ Gleam Sublime

[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)
[![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)

Syntax Definition & **gleam format** support for the [Gleam](http://gleam.run) Programming Language in Sublime Text.

## Installation

If this package is found on [Package Control](http://packagecontrol.io), then press `CTRL + Shift + P` inside Sublime, type `Gleam` and press enter.

Otherwise, go to your `Packages` folder, and execute

```bash
git clone [email protected]:molnarmark/sublime-gleam.git
```

## Settings

`format_on_save` is enabled by default, to disable head over to

- Preferences
- Package Settings
- Gleam
- Gleam Settings
- change `format_on_save` to false

If you prefer using a key binding to format, add this to your **Sublime Keymap** with the preferred key:

```json
{ "keys": [""], "command": "gleam_fmt" }
```

Alternatively, you can also format via the menu, `CTRL + Shift + P` and select the `Gleam: Format` option.

### Enjoy!