feat: add Gleam language support#1352
Open
jakeefr wants to merge 2 commits intooraios:mainfrom
Open
Conversation
Add support for the Gleam programming language using the built-in language server invoked via `gleam lsp`. Requires the Gleam compiler to be installed and available on PATH. - Add GLEAM enum variant to Language with *.gleam file matcher - Create GleamLanguageServer with DependencyProvider pattern - Update README and programming languages docs - Add pytest marker for gleam tests Fixes oraios#1334
MischaPanch
requested changes
Apr 15, 2026
Contributor
MischaPanch
left a comment
There was a problem hiding this comment.
Thanks for the contribution. Tests are missing completely, pls have a look at our instructions for adding language support. I will review once tests pass in CI
| def _create_dependency_provider(self) -> LanguageServerDependencyProvider: | ||
| return self.DependencyProvider(self._custom_settings, self._ls_resources_dir) | ||
|
|
||
| class DependencyProvider(LanguageServerDependencyProviderSinglePath): |
Contributor
There was a problem hiding this comment.
You don't need a dep. provider when there's nothing to download
Gleam LSP uses the system-installed compiler; there is nothing to download. Pass ProcessLaunchInfo directly to __init__ instead of going through LanguageServerDependencyProvider.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1334. Added Gleam language support following the existing pattern for other language integrations.
GleamLanguageServerclass using theDependencyProviderpattern, findsgleamon PATH and launches viagleam lspLanguage.GLEAMenum variant with*.gleamfile matcherGleam's LSP is built into the compiler so no additional tooling is needed beyond the Gleam installation itself.
I maintain PRISM, a post-session diagnostics tool for Claude Code — CLAUDE.md adherence analysis and session health scoring. Serena's semantic retrieval and PRISM's session diagnostics are complementary tools for Claude Code power users.