|
|
|
[language-server.biome]
|
|
|
|
command = "biome"
|
|
|
|
args = ["lsp-proxy"]
|
|
|
|
|
|
|
|
[language-server.roc_lang_server]
|
|
|
|
command = "roc_lang_server"
|
|
|
|
args = []
|
|
|
|
|
|
|
|
[language-server.graphql-language-service]
|
|
|
|
command = "graphql-lsp"
|
|
|
|
args = ["server", "-m", "stream"]
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "typescript"
|
|
|
|
language-servers = ["typescript-language-server", "biome", "graphql-language-service"]
|
|
|
|
auto-format = true
|
|
|
|
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.ts"] }
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "javascript"
|
|
|
|
language-servers = ["typescript-language-server", "biome"]
|
|
|
|
auto-format = true
|
|
|
|
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.js"] }
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "json"
|
|
|
|
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.json"] }
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "handlebars"
|
|
|
|
injection-regex = "hbs"
|
|
|
|
roots = ["package.json", "repo.toml", "dir.toml"]
|
|
|
|
file-types = ["hbs", "tmpl"]
|
|
|
|
grammar = "glimmer"
|
|
|
|
language-servers = ["ember"]
|
|
|
|
formatter = { command = "prettier", args = ['--parser', 'glimmer'] }
|
|
|
|
scope = "source.glimmer"
|
|
|
|
|
|
|
|
[[grammar]]
|
|
|
|
name = "glimmer"
|
|
|
|
source = { git = "https://github.com/alexlafroscia/tree-sitter-glimmer", rev = "f9746dc1d0707717fbba84cb5c22a71586af23e1" }
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "roc"
|
|
|
|
language-servers = ["roc_lang_server"]
|
|
|
|
auto-format = true
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
file-types = ["roc"]
|
|
|
|
shebangs = ["roc"]
|
|
|
|
scope = "source.roc"
|
|
|
|
comment-token = "#"
|
|
|
|
roots = []
|
|
|
|
formatter = { command = "roc", args = ['format', '--stdin', '--stdout'] }
|
|
|
|
grammar = "roc"
|
|
|
|
|
|
|
|
[language.auto-pairs]
|
|
|
|
'(' = ')'
|
|
|
|
'{' = '}'
|
|
|
|
'[' = ']'
|
|
|
|
'"' = '"'
|
|
|
|
|
|
|
|
[[grammar]]
|
|
|
|
name = "roc"
|
|
|
|
source = { git = "https://github.com/faldor20/tree-sitter-roc", rev = "381743cd40ee19a9508c6445aacb9085d4bc0cf8" }
|