feat: add Gleam language support via the Gleam compiler's bundled gleam lsp (#1765)

This commit is contained in:
weiconghe authored and GitHub committed 2026-08-08 19:44:27 +02:00
1 parent 8c1f3bcc98
commit 1d44e9cfab
17 files changed
+463 -3

No files matched your search

+5
View File
@@ -437,6 +437,11 @@ def _determine_disabled_language_servers() -> list[LanguageServerId]:
# catching a CI setup regression. On Windows/macOS CI (never installed) and off-CI without the binary it skips.
if (_sh.which("qmlls6") is None and _sh.which("qmlls") is None) and not (is_ci and is_linux):
result.append(LanguageServerId.QML)
# gleam is installed (see pytest.yml) on the Ubuntu other-langs CI batch. Same rationale as
# qmlls: a missing binary on Linux CI is NOT skipped (fails loudly on a CI setup regression);
# Windows/macOS CI and off-CI without the binary skip.
if _sh.which("gleam") is None and not (is_ci and is_linux):
result.append(LanguageServerId.GLEAM)
# === 3. Disabled wherever the precondition is missing (including on CI) ===
# 3a. Platform precondition: these language servers have no native Windows support.