Available in Atom packages: https://atom.io/packages/language-gleam
- 🎨 Syntax highlighting for Gleam source.
- 👔 Optionally run
gleam formaton save. - 🧬 Snippets for common Gleam constructs.
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 Atom's Package Manager.
- Open up Atom
- Press
CTRL + Shift + Pinside Atom - Type
install packageand press enter. - In the search bar type
gleamand press enter. - Press
Installon thelanguage-gleampackage.
To access setings for this package click on:
Preferences -> Pagkages -> type language-gleam -> Settings
format_on_save is on for all gleam files by default, you can change this
by opening the package settings and un-checking Format On Save.
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
Executable option in the settings panel 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
Executable.
Are welcome and appreciated! Please fork this repository and open a pull request to add snippets, make highlighter tweaks, etc.
Uses tree-sitter-gleam.
