Update .config/helix/languages.toml

This commit is contained in:
Kasper Juul Hermansen 2023-10-08 22:41:15 +02:00
parent 12251ebd54
commit 13f289c783
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -10,6 +10,7 @@ auto-format = true
comment-token = "//"
language-servers = [ "graphql-language-service" ]
indent = {tab-width = 2, unit = " "}
formatter = { command = "prettier", args = ["--parser=graphql"]}
[language-server.graphql-language-service]
command = "graphql-lsp"
@ -17,4 +18,4 @@ args = ["server", "-m", "stream"]
[[grammar]]
name = "graphql"
source = {git = "https://github.com/bkegley/tree-sitter-graphql", rev = "5e66e961eee421786bdda8495ed1db045e06b5fe"}
source = {git = "https://github.com/bkegley/tree-sitter-graphql", rev = "5e66e961eee421786bdda8495ed1db045e06b5fe"}