From 96dfd31f947aaf5083dc3687c42383ef580517a9 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Thu, 29 Feb 2024 22:33:23 +0100 Subject: [PATCH] Update .config/helix/languages.toml --- dot_config/helix/languages.toml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/dot_config/helix/languages.toml b/dot_config/helix/languages.toml index c507cd1..9334ab6 100644 --- a/dot_config/helix/languages.toml +++ b/dot_config/helix/languages.toml @@ -4,9 +4,16 @@ command = "clippy" [language-server.rust-analyzer.config.cargo] allFeatures = true +[language-server.rust-analyzer.buildScripts] +enable = true + [language-server.rust-analyzer.config.procMacro.ignored] +async-trait = ["async_trait"] mockall = ["automock"] mockall_double = ["double"] +automock = ["automock"] +double = ["double"] +leptos_macro = ["server"] [[language]] name = "graphql" @@ -39,14 +46,3 @@ indent = { tab-width = 2, unit = " " } formatter = { command = 'prettier', args = ["--parser", "typescript"] } 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 -