Gleam
Gleam syntax support for Sublime Text
Details
Installs
- Total 667
- Win 169
- Mac 263
- Linux 235
| Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
| Mac | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime Text + Gleam
✨ Gleam syntax support for Sublime Text.
Installation
This package is available on Package Control. To install:
- Open the command palette (Ctrl/Cmd+Shift+P)
- Select Package Control: Install Package
- Select Gleam
Language Server
The Gleam Language Server enables improved
autocomplete, go-to-definition, formatting, “hover docs”, compiler feedback in
the editor, and more. To set it up, install the LSP package and
open Preferences: LSP Server Configurations in the command palette, then add
a gleam server config:
{
"gleam": {
"enabled": true,
"command": ["gleam", "lsp"],
"selector": "source.gleam"
}
}
Note: If using Sublime Text on Windows and Gleam in WSL (or a similar
scenario), the LSP package won't work since it does not support
path translation. In this case, you can still at least get in-editor formatting
using the Fmt package; follow its
its instructions to set up a rule with source.gleam as the selector and e.g.
["wsl", "gleam", "format", "--stdin"] as the command.
Compatibility
This package is developed for Sublime Text 4+, and is not available in Package Control on older versions. It can be installed manually in Sublime Text 3, but this is unsupported, and bugs that only appear in ST3 will not be fixed.
Manual Installation
- Download the
.zipfor the desired version from the GitHub Releases page - Rename this file (without unzipping it) to
Gleam.sublime-package - Place the file in your Sublime Text “Installed Packages” directory
“Installed Packages” can be found using Preferences → Browse Packages within Sublime Text (go up one level from the directory this opens).