|
|
|
@ -40,6 +40,31 @@ args = ["--stdio"]
|
|
|
|
|
config = { typescript = { tsdk = "node_modules/typescript/lib/" } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[language-server.pest-lsp]
|
|
|
|
|
command = "pest-language-server"
|
|
|
|
|
args = []
|
|
|
|
|
|
|
|
|
|
[language-server.svelteserver]
|
|
|
|
|
command = "svelteserver"
|
|
|
|
|
args = ["--stdio"]
|
|
|
|
|
|
|
|
|
|
[language-server.svelteserver.config.configuration.typescript]
|
|
|
|
|
inlayHints.parameterTypes.enabled = true
|
|
|
|
|
inlayHints.variableTypes.enabled = true
|
|
|
|
|
inlayHints.propertyDeclarationTypes.enabled = true
|
|
|
|
|
inlayHints.functionLikeReturnTypes.enabled = true
|
|
|
|
|
inlayHints.enumMemberValues.enabled = true
|
|
|
|
|
inlayHints.parameterNames.enabled = "all"
|
|
|
|
|
|
|
|
|
|
[language-server.svelteserver.config.configuration.javascript]
|
|
|
|
|
inlayHints.parameterTypes.enabled = true
|
|
|
|
|
inlayHints.variableTypes.enabled = true
|
|
|
|
|
inlayHints.propertyDeclarationTypes.enabled = true
|
|
|
|
|
inlayHints.functionLikeReturnTypes.enabled = true
|
|
|
|
|
inlayHints.enumMemberValues.enabled = true
|
|
|
|
|
inlayHints.parameterNames.enabled = "all"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[language-server.hx-lsp]
|
|
|
|
|
command = "hx-lsp"
|
|
|
|
|
args = []
|
|
|
|
@ -48,24 +73,50 @@ args = []
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
|
name = "typescript"
|
|
|
|
|
language-servers = ["typescript-language-server", "biome", "graphql-language-service", { name = "efm", only-features = ["diagnostics", "format"]}, "hx-lsp"]
|
|
|
|
|
language-servers = [
|
|
|
|
|
"typescript-language-server",
|
|
|
|
|
"biome",
|
|
|
|
|
"graphql-language-service",
|
|
|
|
|
{ name = "efm", only-features = [
|
|
|
|
|
"diagnostics",
|
|
|
|
|
"format",
|
|
|
|
|
] },
|
|
|
|
|
"hx-lsp",
|
|
|
|
|
]
|
|
|
|
|
auto-format = true
|
|
|
|
|
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.ts"] }
|
|
|
|
|
formatter = { command = "biome", args = [
|
|
|
|
|
"format",
|
|
|
|
|
"--stdin-file-path=file.ts",
|
|
|
|
|
] }
|
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
|
name = "javascript"
|
|
|
|
|
language-servers = ["typescript-language-server", "biome", { name = "efm", only-features = ["diagnostics", "format"]}, "hx-lsp"]
|
|
|
|
|
|
|
|
|
|
language-servers = [
|
|
|
|
|
"typescript-language-server",
|
|
|
|
|
"biome",
|
|
|
|
|
{ name = "efm", only-features = [
|
|
|
|
|
"diagnostics",
|
|
|
|
|
"format",
|
|
|
|
|
] },
|
|
|
|
|
"hx-lsp",
|
|
|
|
|
]
|
|
|
|
|
auto-format = true
|
|
|
|
|
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.js"] }
|
|
|
|
|
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"] }
|
|
|
|
|
|
|
|
|
|
formatter = { command = "biome", args = [
|
|
|
|
|
"format",
|
|
|
|
|
"--stdin-file-path=file.json",
|
|
|
|
|
] }
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
|
name = "handlebars"
|
|
|
|
@ -90,7 +141,7 @@ indent = { tab-width = 4, unit = " " }
|
|
|
|
|
file-types = ["roc"]
|
|
|
|
|
shebangs = ["roc"]
|
|
|
|
|
scope = "source.roc"
|
|
|
|
|
comment-token = "#"
|
|
|
|
|
comment-tokens = ["#"]
|
|
|
|
|
roots = []
|
|
|
|
|
formatter = { command = "roc", args = ['format', '--stdin', '--stdout'] }
|
|
|
|
|
grammar = "roc"
|
|
|
|
@ -118,7 +169,6 @@ scope = "source.nu"
|
|
|
|
|
injection-regex = "nu"
|
|
|
|
|
file-types = ["nu", "nuon"]
|
|
|
|
|
shebangs = ["nu"]
|
|
|
|
|
comment-token = "#"
|
|
|
|
|
indent = { tab-width = 2, unit = " " }
|
|
|
|
|
language-servers = ["nu-lsp"]
|
|
|
|
|
|
|
|
|
@ -141,7 +191,14 @@ formatter = { command = "kdlfmt" }
|
|
|
|
|
[[language]]
|
|
|
|
|
name = "toml"
|
|
|
|
|
auto-format = true
|
|
|
|
|
formatter = { command = "taplo", args = ["fmt", "--option", "indent_entries=true", "--option", "indent_tables=true", "-"] }
|
|
|
|
|
formatter = { command = "taplo", args = [
|
|
|
|
|
"fmt",
|
|
|
|
|
"--option",
|
|
|
|
|
"indent_entries=true",
|
|
|
|
|
"--option",
|
|
|
|
|
"indent_tables=true",
|
|
|
|
|
"-",
|
|
|
|
|
] }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
@ -151,7 +208,7 @@ auto-format = true
|
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
|
file-types = ["pug"]
|
|
|
|
|
scope = "source.pug"
|
|
|
|
|
comment-token = "//"
|
|
|
|
|
comment-tokens = ["//"]
|
|
|
|
|
roots = []
|
|
|
|
|
grammar = "pug"
|
|
|
|
|
|
|
|
|
@ -167,6 +224,11 @@ name = "pug"
|
|
|
|
|
source = { git = "https://github.com/zealot128/tree-sitter-pug", rev = "a7ff31a38908df9b9f34828d21d6ca5e12413e18" }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
|
name = "svelte"
|
|
|
|
|
auto-format = true
|
|
|
|
|
language-servers = ["svelteserver", "biome"]
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
|
name = "astro"
|
|
|
|
|
language-servers = ["astro-ls", "hx-lsp"]
|
|
|
|
@ -179,7 +241,7 @@ auto-format = true
|
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
|
file-types = ["jora"]
|
|
|
|
|
scope = "source.jora"
|
|
|
|
|
comment-token = "//"
|
|
|
|
|
comment-tokens = ["//"]
|
|
|
|
|
roots = []
|
|
|
|
|
language-servers = ["hx-lsp"]
|
|
|
|
|
grammar = "jora"
|
|
|
|
@ -193,13 +255,21 @@ grammar = "jora"
|
|
|
|
|
[[language]]
|
|
|
|
|
name = "vue"
|
|
|
|
|
auto-format = true
|
|
|
|
|
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.vue"] }
|
|
|
|
|
language-servers = ["vls", "biome"]
|
|
|
|
|
formatter = { command = "biome", args = [
|
|
|
|
|
"format",
|
|
|
|
|
"--stdin-file-path=file.vue",
|
|
|
|
|
] }
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
|
name = "env"
|
|
|
|
|
file-types = [{ glob = ".env" }, { glob = ".env.*" }, { glob = ".envrc" }, { glob = ".envrc.*" }, { glob = "*.env" }]
|
|
|
|
|
|
|
|
|
|
file-types = [
|
|
|
|
|
{ glob = ".env" },
|
|
|
|
|
{ glob = ".env.*" },
|
|
|
|
|
{ glob = ".envrc" },
|
|
|
|
|
{ glob = ".envrc.*" },
|
|
|
|
|
{ glob = "*.env" },
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
|
name = "scheme"
|
|
|
|
@ -209,3 +279,27 @@ formatter = { command = "schemat" }
|
|
|
|
|
[[language]]
|
|
|
|
|
name = "svelte"
|
|
|
|
|
auto-format = true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
|
name = "pest"
|
|
|
|
|
language-servers = ["pest-lsp"]
|
|
|
|
|
auto-format = true
|
|
|
|
|
indent = { tab-width = 2, unit = " " }
|
|
|
|
|
file-types = ["pest"]
|
|
|
|
|
shebangs = ["pest"]
|
|
|
|
|
scope = "source.pest"
|
|
|
|
|
comment-tokens = ["//"]
|
|
|
|
|
grammar = "pest"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[language.auto-pairs]
|
|
|
|
|
'(' = ')'
|
|
|
|
|
'{' = '}'
|
|
|
|
|
'[' = ']'
|
|
|
|
|
'"' = '"'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[grammar]]
|
|
|
|
|
name = "pest"
|
|
|
|
|
source = { git = "https://github.com/pest-parser/tree-sitter-pest", rev = "a8a98a824452b1ec4da7f508386a187a2f234b85" }
|
|
|
|
|