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

Gleam

by itsgreggreg ST3 Needs Review

Gleam language support for Sublime Text

Details

Installs

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