chezmoi/dot_config/helix/languages.toml

22 lines
621 B
TOML
Raw Normal View History

2023-10-03 22:08:55 +02:00
[language-server.rust-analyzer.config.check]
command = "clippy"
[[language]]
name = "graphql"
scope = "source.graphql"
injection-regex = "graphql"
file-types = ["graphql", "gql"]
auto-format = true
comment-token = "//"
language-servers = [ "graphql-language-service" ]
indent = {tab-width = 2, unit = " "}
2023-10-08 22:41:15 +02:00
formatter = { command = "prettier", args = ["--parser=graphql"]}
[language-server.graphql-language-service]
command = "graphql-lsp"
args = ["server", "-m", "stream"]
[[grammar]]
name = "graphql"
2023-10-08 22:41:15 +02:00
source = {git = "https://github.com/bkegley/tree-sitter-graphql", rev = "5e66e961eee421786bdda8495ed1db045e06b5fe"}