Gleam: add support for built-in language server (#3139)

* Add gleam lsp support

* Docgen gleam lsp support
This commit is contained in:
Clay 2022-07-21 20:19:42 -05:00 committed by GitHub
parent 76756f0e5d
commit e560212ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@
| git-diff | ✓ | | | | | git-diff | ✓ | | | |
| git-ignore | ✓ | | | | | git-ignore | ✓ | | | |
| git-rebase | ✓ | | | | | git-rebase | ✓ | | | |
| gleam | ✓ | ✓ | | | | gleam | ✓ | ✓ | | `gleam` |
| glsl | ✓ | ✓ | ✓ | | | glsl | ✓ | ✓ | ✓ | |
| go | ✓ | ✓ | ✓ | `gopls` | | go | ✓ | ✓ | ✓ | `gopls` |
| gomod | ✓ | | | `gopls` | | gomod | ✓ | | | `gopls` |

View File

@ -1140,6 +1140,7 @@ file-types = ["gleam"]
roots = ["gleam.toml"] roots = ["gleam.toml"]
comment-token = "//" comment-token = "//"
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
language-server = { command = "gleam", args = ["lsp"] }
[[grammar]] [[grammar]]
name = "gleam" name = "gleam"