Update .config/helix/languages.toml

This commit is contained in:
Kasper Juul Hermansen 2024-02-29 22:33:23 +01:00
parent b67d8844ee
commit 96dfd31f94
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -4,9 +4,16 @@ command = "clippy"
[language-server.rust-analyzer.config.cargo] [language-server.rust-analyzer.config.cargo]
allFeatures = true allFeatures = true
[language-server.rust-analyzer.buildScripts]
enable = true
[language-server.rust-analyzer.config.procMacro.ignored] [language-server.rust-analyzer.config.procMacro.ignored]
async-trait = ["async_trait"]
mockall = ["automock"] mockall = ["automock"]
mockall_double = ["double"] mockall_double = ["double"]
automock = ["automock"]
double = ["double"]
leptos_macro = ["server"]
[[language]] [[language]]
name = "graphql" name = "graphql"
@ -39,14 +46,3 @@ indent = { tab-width = 2, unit = " " }
formatter = { command = 'prettier', args = ["--parser", "typescript"] } formatter = { command = 'prettier', args = ["--parser", "typescript"] }
auto-format = true auto-format = true
[[language]]
name = "tsx"
scope = "source.tsx"
injection-regex = "(tsx)" # |typescript
language-id = "typescriptreact"
file-types = ["tsx"]
language-servers = [ "typescript-language-server" ]
indent = { tab-width = 2, unit = " " }
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
auto-format = true