Update .config/helix/languages.toml
This commit is contained in:
parent
12251ebd54
commit
13f289c783
@ -10,6 +10,7 @@ auto-format = true
|
|||||||
comment-token = "//"
|
comment-token = "//"
|
||||||
language-servers = [ "graphql-language-service" ]
|
language-servers = [ "graphql-language-service" ]
|
||||||
indent = {tab-width = 2, unit = " "}
|
indent = {tab-width = 2, unit = " "}
|
||||||
|
formatter = { command = "prettier", args = ["--parser=graphql"]}
|
||||||
|
|
||||||
[language-server.graphql-language-service]
|
[language-server.graphql-language-service]
|
||||||
command = "graphql-lsp"
|
command = "graphql-lsp"
|
||||||
@ -17,4 +18,4 @@ args = ["server", "-m", "stream"]
|
|||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "graphql"
|
name = "graphql"
|
||||||
source = {git = "https://github.com/bkegley/tree-sitter-graphql", rev = "5e66e961eee421786bdda8495ed1db045e06b5fe"}
|
source = {git = "https://github.com/bkegley/tree-sitter-graphql", rev = "5e66e961eee421786bdda8495ed1db045e06b5fe"}
|
||||||
|
Loading…
Reference in New Issue
Block a user