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

Gleam

by itsgreggreg ST3

Gleam language support for Sublime Text

Details

Installs

  • Total 24
  • Win 3
  • Mac 15
  • Linux 6
Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13
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 0 0 0
Mac 0 0 0 0 1 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 1 0 0 0 0 0 0 0 1
Linux 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 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.