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

Gleam

by itsgreggreg ST3

Gleam language support for Sublime Text

Details

Installs

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