aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorKasper Juul Hermansen2023-10-09 15:30:27 +0000
committerGitHub2023-10-09 15:30:27 +0000
commit5cb76e74f9bd226f1b4757f478bf49873d9ecfe6 (patch)
tree7e21d41892a09d215accbd38c90e4e868b500796 /languages.toml
parent96bbfb7c2e880c8ed0d7f3f15ee39fb5b68c93b4 (diff)
add lsp for graphql (#8492)
graphql-lsp has quite the strange name upstream, the project is technically called graphql-language-service, but the binary shipped is called graphql-lsp hence the strange naming scheme Signed-off-by: kjuulh <contact@kjuulh.io>
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index f0c27a0c..24b6cccf 100644
--- a/languages.toml
+++ b/languages.toml
@@ -30,6 +30,7 @@ forth-lsp = { command = "forth-lsp" }
fortls = { command = "fortls", args = ["--lowercase_intrinsics"] }
fsharp-ls = { command = "fsautocomplete", config = { AutomaticWorkspaceInit = true } }
gleam = { command = "gleam", args = ["lsp"] }
+graphql-language-service = { command = "graphql-lsp", args = ["server", "-m", "stream"] }
haskell-language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
idris2-lsp = { command = "idris2-lsp" }
intelephense = { command = "intelephense", args = ["--stdio"] }
@@ -1513,6 +1514,7 @@ scope = "source.graphql"
injection-regex = "graphql"
file-types = ["gql", "graphql", "graphqls"]
roots = []
+language-servers = [ "graphql-language-service" ]
indent = { tab-width = 2, unit = " " }
[[grammar]]