2023-10-03 22:08:55 +02:00
|
|
|
[language-server.rust-analyzer.config.check]
|
|
|
|
command = "clippy"
|
|
|
|
|
2023-10-20 21:47:54 +02:00
|
|
|
[language-server.rust-analyzer.config.cargo]
|
|
|
|
allFeatures = true
|
|
|
|
|
2024-02-29 22:33:23 +01:00
|
|
|
[language-server.rust-analyzer.buildScripts]
|
|
|
|
enable = true
|
|
|
|
|
2024-02-18 00:42:10 +01:00
|
|
|
[language-server.rust-analyzer.config.procMacro.ignored]
|
2024-02-29 22:33:23 +01:00
|
|
|
async-trait = ["async_trait"]
|
2024-02-18 00:42:10 +01:00
|
|
|
mockall = ["automock"]
|
|
|
|
mockall_double = ["double"]
|
2024-02-29 22:33:23 +01:00
|
|
|
automock = ["automock"]
|
|
|
|
double = ["double"]
|
2024-03-03 13:20:28 +01:00
|
|
|
leptos_macro = ["server", "component"]
|
2024-02-18 00:42:10 +01:00
|
|
|
|
2023-10-08 21:22:57 +02:00
|
|
|
[[language]]
|
|
|
|
name = "graphql"
|
|
|
|
scope = "source.graphql"
|
|
|
|
injection-regex = "graphql"
|
|
|
|
file-types = ["graphql", "gql"]
|
|
|
|
auto-format = true
|
|
|
|
comment-token = "//"
|
2024-05-31 12:28:17 +02:00
|
|
|
language-servers = ["graphql-language-service"]
|
|
|
|
indent = { tab-width = 2, unit = " " }
|
|
|
|
formatter = { command = "prettier", args = ["--parser=graphql"] }
|
2023-10-08 21:22:57 +02:00
|
|
|
|
|
|
|
[language-server.graphql-language-service]
|
|
|
|
command = "graphql-lsp"
|
|
|
|
args = ["server", "-m", "stream"]
|
|
|
|
|
2024-04-30 20:46:53 +02:00
|
|
|
[[language]]
|
|
|
|
name = "toml"
|
2024-04-30 20:49:46 +02:00
|
|
|
formatter = { command = "taplo", args = ["fmt", "-"] }
|
|
|
|
auto-format = true
|
2024-04-30 20:46:53 +02:00
|
|
|
|
2023-10-08 21:22:57 +02:00
|
|
|
[[grammar]]
|
|
|
|
name = "graphql"
|
2024-05-31 12:28:17 +02:00
|
|
|
source = { git = "https://github.com/bkegley/tree-sitter-graphql", rev = "5e66e961eee421786bdda8495ed1db045e06b5fe" }
|
2024-02-07 21:19:26 +01:00
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "typescript"
|
|
|
|
scope = "source.ts"
|
|
|
|
injection-regex = "(ts|typescript)"
|
|
|
|
file-types = ["ts", "mts", "cts"]
|
|
|
|
language-id = "typescript"
|
|
|
|
shebangs = ["deno", "ts-node"]
|
2024-05-31 12:28:17 +02:00
|
|
|
language-servers = ["typescript-language-server"]
|
2024-02-07 21:19:26 +01:00
|
|
|
indent = { tab-width = 2, unit = " " }
|
|
|
|
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
|
|
|
|
auto-format = true
|
|
|
|
|
2024-03-29 23:24:45 +01:00
|
|
|
[language.debugger]
|
|
|
|
command = "codelldb"
|
|
|
|
name = "codelldb"
|
|
|
|
port-arg = "--port {}"
|
|
|
|
transport = "tcp"
|
|
|
|
|
|
|
|
[[language.debugger.templates]]
|
|
|
|
name = "binary"
|
|
|
|
request = "launch"
|
|
|
|
[[language.debugger.templates.completion]]
|
|
|
|
completion = "filename"
|
|
|
|
name = "binary"
|
|
|
|
|
|
|
|
[language.debugger.templates.args]
|
|
|
|
program = "{0}"
|
|
|
|
runInTerminal = true
|
2024-05-31 12:28:17 +02:00
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "gotmpl"
|
|
|
|
scope = "source.gotmpl"
|
|
|
|
injection-regex = "gotmpl"
|
|
|
|
file-types = ["gotmpl", "tmpl"]
|
|
|
|
comment-token = "//"
|
|
|
|
block-comment-tokens = { start = "/*", end = "*/" }
|
|
|
|
language-servers = ["gopls"]
|
|
|
|
indent = { tab-width = 2, unit = " " }
|