on master help sign in
add lsp for graphql (#8492)
5cb76e7Kasper Juul Hermansen
book/src/generated/lang-support.md+1−1
@@ -59,7 +59,7 @@
59| gomod | ✓ | | | `gopls` |
59| gomod | ✓ | | | `gopls` |
60| gotmpl | ✓ | | | `gopls` |
60| gotmpl | ✓ | | | `gopls` |
61| gowork | ✓ | | | `gopls` |
61| gowork | ✓ | | | `gopls` |
62−| graphql | ✓ | | | |
62+| graphql | ✓ | | | `graphql-lsp` |
63| hare | ✓ | | | |
63| hare | ✓ | | | |
64| haskell | ✓ | ✓ | | `haskell-language-server-wrapper` |
64| haskell | ✓ | ✓ | | `haskell-language-server-wrapper` |
65| haskell-persistent | ✓ | | | |
65| haskell-persistent | ✓ | | | |
languages.toml+2
@@ -30,6 +30,7 @@ forth-lsp = { command = "forth-lsp" }
30fortls = { command = "fortls", args = ["--lowercase_intrinsics"] }
30fortls = { command = "fortls", args = ["--lowercase_intrinsics"] }
31fsharp-ls = { command = "fsautocomplete", config = { AutomaticWorkspaceInit = true } }
31fsharp-ls = { command = "fsautocomplete", config = { AutomaticWorkspaceInit = true } }
32gleam = { command = "gleam", args = ["lsp"] }
32gleam = { command = "gleam", args = ["lsp"] }
33+graphql-language-service = { command = "graphql-lsp", args = ["server", "-m", "stream"] }
33haskell-language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
34haskell-language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
34idris2-lsp = { command = "idris2-lsp" }
35idris2-lsp = { command = "idris2-lsp" }
35intelephense = { command = "intelephense", args = ["--stdio"] }
36intelephense = { command = "intelephense", args = ["--stdio"] }
@@ -1513,6 +1514,7 @@ scope = "source.graphql"
1513injection-regex = "graphql"
1514injection-regex = "graphql"
1514file-types = ["gql", "graphql", "graphqls"]
1515file-types = ["gql", "graphql", "graphqls"]
1515roots = []
1516roots = []
1517+language-servers = [ "graphql-language-service" ]
1516indent = { tab-width = 2, unit = " " }
1518indent = { tab-width = 2, unit = " " }
1517
1519
1518[[grammar]]
1520[[grammar]]