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

* Add gleam lsp support

* Docgen gleam lsp support
pull/2470/head^2
Clay 2 years ago committed by GitHub
parent 76756f0e5d
commit e560212ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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` |

@ -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"

Loading…
Cancel
Save