ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Gleam

by itsgreggreg ST3

Gleam language support for Sublime Text

Details

Installs

  • Total 19
  • Win 3
  • Mac 11
  • Linux 5
Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text Gleam 💫

A Sublime text language package for the Gleam programming language.

Features

  • 🎨 Gleam syntax highlighting.
  • 👔 Gleam format on save.

Installation

For formatting to work you must have gleam installed on your computer. Follow these instructions for installing gleam: https://gleam.run/getting-started/

You can get this package on Package Control.

  1. Open up Sublime text
  2. Press CTRL + Shift + P inside Sublime Text
  3. Type Gleam and press enter.

Otherwise, go to your Packages folder, and execute

git clone git@github.com:itsgreggreg/sublime-text-gleam.git Gleam

Settings

To access setings for this package click on:

Preferences -> Package Settings -> Gleam -> Settings

Format on Save

format_on_save is on for all gleam files by default, you can change this by opening the package settings and changing format_on_save to one of the available options.

For the full list of options open up the settings for this package.

Gleam executable absolute path

This package will try to find gleam automatically in your system but in case it can't or you want to use a specific version of gleam, change the absolute_path option in your settings file to be the location of the gleam executable on your computer.

If you know gleam is installed but formatting is not working, try running which gleam in the terminal and pasting the output of that command into absolute_path.

Contributions

Welcome! Feel free to file a bug or make a pull request.