From e560212ec5336b3257b80bca5f815578d640d9e5 Mon Sep 17 00:00:00 2001 From: Clay Date: Thu, 21 Jul 2022 20:19:42 -0500 Subject: [PATCH] Gleam: add support for built-in language server (#3139) * Add gleam lsp support * Docgen gleam lsp support --- book/src/generated/lang-support.md | 2 +- languages.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index aecf80acb..21371c933 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -30,7 +30,7 @@ | git-diff | ✓ | | | | | git-ignore | ✓ | | | | | git-rebase | ✓ | | | | -| gleam | ✓ | ✓ | | | +| gleam | ✓ | ✓ | | `gleam` | | glsl | ✓ | ✓ | ✓ | | | go | ✓ | ✓ | ✓ | `gopls` | | gomod | ✓ | | | `gopls` | diff --git a/languages.toml b/languages.toml index f9dac467e..031313e9f 100644 --- a/languages.toml +++ b/languages.toml @@ -1140,6 +1140,7 @@ file-types = ["gleam"] roots = ["gleam.toml"] comment-token = "//" indent = { tab-width = 2, unit = " " } +language-server = { command = "gleam", args = ["lsp"] } [[grammar]] name = "gleam"