|
|
@ -38,34 +38,83 @@ typescript = {}
|
|
|
|
command = "vls"
|
|
|
|
command = "vls"
|
|
|
|
args = []
|
|
|
|
args = []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[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"
|
|
|
|
|
|
|
|
|
|
|
|
# languages
|
|
|
|
# languages
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
[[language]]
|
|
|
|
name = "typescript"
|
|
|
|
name = "typescript"
|
|
|
|
language-servers = ["typescript-language-server", "biome", "graphql-language-service", { name = "efm", only-features = ["diagnostics", "format"]}]
|
|
|
|
language-servers = [
|
|
|
|
|
|
|
|
"typescript-language-server",
|
|
|
|
|
|
|
|
"biome",
|
|
|
|
|
|
|
|
"graphql-language-service",
|
|
|
|
|
|
|
|
{ name = "efm", only-features = [
|
|
|
|
|
|
|
|
"diagnostics",
|
|
|
|
|
|
|
|
"format",
|
|
|
|
|
|
|
|
] },
|
|
|
|
|
|
|
|
]
|
|
|
|
auto-format = true
|
|
|
|
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 = " " }
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
[[language]]
|
|
|
|
name = "javascript"
|
|
|
|
name = "javascript"
|
|
|
|
language-servers = ["typescript-language-server", "biome", { name = "efm", only-features = ["diagnostics", "format"]}]
|
|
|
|
language-servers = [
|
|
|
|
|
|
|
|
"typescript-language-server",
|
|
|
|
|
|
|
|
"biome",
|
|
|
|
|
|
|
|
{ name = "efm", only-features = [
|
|
|
|
|
|
|
|
"diagnostics",
|
|
|
|
|
|
|
|
"format",
|
|
|
|
|
|
|
|
] },
|
|
|
|
|
|
|
|
]
|
|
|
|
auto-format = true
|
|
|
|
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 = " " }
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
[[language]]
|
|
|
|
name = "json"
|
|
|
|
name = "json"
|
|
|
|
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.json"] }
|
|
|
|
formatter = { command = "biome", args = [
|
|
|
|
|
|
|
|
"format",
|
|
|
|
|
|
|
|
"--stdin-file-path=file.json",
|
|
|
|
|
|
|
|
] }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
[[language]]
|
|
|
|
name = "handlebars"
|
|
|
|
name = "handlebars"
|
|
|
|
injection-regex = "hbs"
|
|
|
|
injection-regex = "hbs"
|
|
|
|
roots = ["package.json", "repo.toml", "dir.toml"]
|
|
|
|
roots = ["package.json", "repo.toml", "dir.toml"]
|
|
|
|
file-types = ["hbs", "tmpl"]
|
|
|
|
file-types = ["hbs", "tmpl"]
|
|
|
|
grammar = "glimmer"
|
|
|
|
grammar = "glimmer"
|
|
|
|
language-servers = ["ember"]
|
|
|
|
language-servers = ["ember"]
|
|
|
|
formatter = { command = "prettier", args = ['--parser', 'glimmer'] }
|
|
|
|
formatter = { command = "prettier", args = ['--parser', 'glimmer'] }
|
|
|
@ -81,10 +130,10 @@ name = "roc"
|
|
|
|
language-servers = ["roc_lang_server"]
|
|
|
|
language-servers = ["roc_lang_server"]
|
|
|
|
auto-format = true
|
|
|
|
auto-format = true
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
file-types = ["roc"]
|
|
|
|
file-types = ["roc"]
|
|
|
|
shebangs = ["roc"]
|
|
|
|
shebangs = ["roc"]
|
|
|
|
scope = "source.roc"
|
|
|
|
scope = "source.roc"
|
|
|
|
comment-token = "#"
|
|
|
|
comment-tokens = ["#"]
|
|
|
|
roots = []
|
|
|
|
roots = []
|
|
|
|
formatter = { command = "roc", args = ['format', '--stdin', '--stdout'] }
|
|
|
|
formatter = { command = "roc", args = ['format', '--stdin', '--stdout'] }
|
|
|
|
grammar = "roc"
|
|
|
|
grammar = "roc"
|
|
|
@ -93,7 +142,7 @@ grammar = "roc"
|
|
|
|
[[language]]
|
|
|
|
[[language]]
|
|
|
|
name = "bash"
|
|
|
|
name = "bash"
|
|
|
|
auto-format = true
|
|
|
|
auto-format = true
|
|
|
|
formatter = { command = "shfmt", args = ["-s", "-sr", "-"]}
|
|
|
|
formatter = { command = "shfmt", args = ["-s", "-sr", "-"] }
|
|
|
|
|
|
|
|
|
|
|
|
[language.auto-pairs]
|
|
|
|
[language.auto-pairs]
|
|
|
|
'(' = ')'
|
|
|
|
'(' = ')'
|
|
|
@ -112,9 +161,8 @@ scope = "source.nu"
|
|
|
|
injection-regex = "nu"
|
|
|
|
injection-regex = "nu"
|
|
|
|
file-types = ["nu", "nuon"]
|
|
|
|
file-types = ["nu", "nuon"]
|
|
|
|
shebangs = ["nu"]
|
|
|
|
shebangs = ["nu"]
|
|
|
|
comment-token = "#"
|
|
|
|
|
|
|
|
indent = { tab-width = 2, unit = " " }
|
|
|
|
indent = { tab-width = 2, unit = " " }
|
|
|
|
language-servers = [ "nu-lsp" ]
|
|
|
|
language-servers = ["nu-lsp"]
|
|
|
|
|
|
|
|
|
|
|
|
[[grammar]]
|
|
|
|
[[grammar]]
|
|
|
|
name = "nu"
|
|
|
|
name = "nu"
|
|
|
@ -137,9 +185,9 @@ name = "pug"
|
|
|
|
language-servers = ["pug-lsp"]
|
|
|
|
language-servers = ["pug-lsp"]
|
|
|
|
auto-format = true
|
|
|
|
auto-format = true
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
file-types = ["pug"]
|
|
|
|
file-types = ["pug"]
|
|
|
|
scope = "source.pug"
|
|
|
|
scope = "source.pug"
|
|
|
|
comment-token = "//"
|
|
|
|
comment-tokens = ["//"]
|
|
|
|
roots = []
|
|
|
|
roots = []
|
|
|
|
grammar = "pug"
|
|
|
|
grammar = "pug"
|
|
|
|
|
|
|
|
|
|
|
@ -155,9 +203,14 @@ name = "pug"
|
|
|
|
source = { git = "https://github.com/zealot128/tree-sitter-pug", rev = "a7ff31a38908df9b9f34828d21d6ca5e12413e18" }
|
|
|
|
source = { git = "https://github.com/zealot128/tree-sitter-pug", rev = "a7ff31a38908df9b9f34828d21d6ca5e12413e18" }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
|
|
|
|
name = "svelte"
|
|
|
|
|
|
|
|
auto-format = true
|
|
|
|
|
|
|
|
language-servers = [ "svelteserver", "biome" ]
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
[[language]]
|
|
|
|
name = "astro"
|
|
|
|
name = "astro"
|
|
|
|
language-servers = [ "astro-ls" ]
|
|
|
|
language-servers = ["astro-ls"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
[[language]]
|
|
|
@ -165,9 +218,9 @@ name = "jora"
|
|
|
|
injection-regex = "(jr|jora)"
|
|
|
|
injection-regex = "(jr|jora)"
|
|
|
|
auto-format = true
|
|
|
|
auto-format = true
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
indent = { tab-width = 4, unit = " " }
|
|
|
|
file-types = ["jora"]
|
|
|
|
file-types = ["jora"]
|
|
|
|
scope = "source.jora"
|
|
|
|
scope = "source.jora"
|
|
|
|
comment-token = "//"
|
|
|
|
comment-tokens = ["//"]
|
|
|
|
roots = []
|
|
|
|
roots = []
|
|
|
|
grammar = "jora"
|
|
|
|
grammar = "jora"
|
|
|
|
|
|
|
|
|
|
|
@ -180,9 +233,42 @@ grammar = "jora"
|
|
|
|
[[language]]
|
|
|
|
[[language]]
|
|
|
|
name = "vue"
|
|
|
|
name = "vue"
|
|
|
|
auto-format = true
|
|
|
|
auto-format = true
|
|
|
|
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.vue"] }
|
|
|
|
formatter = { command = "biome", args = [
|
|
|
|
language-servers = [ "vls" ]
|
|
|
|
"format",
|
|
|
|
|
|
|
|
"--stdin-file-path=file.vue",
|
|
|
|
|
|
|
|
] }
|
|
|
|
|
|
|
|
language-servers = ["vls"]
|
|
|
|
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
[[language]]
|
|
|
|
name = "env"
|
|
|
|
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 = "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" }
|
|
|
|