From dc1ba28f916cfa8764110274db7581173d1e70f5 Mon Sep 17 00:00:00 2001
From: Dmitry Mottl <dmitry.mottl@gmail.com>
Date: Sun, 11 Aug 2024 16:13:53 +0800
Subject: [PATCH] Updates .helix config to the new file format

---
 .helix/languages.toml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.helix/languages.toml b/.helix/languages.toml
index 2b887fb5..c86c7b8a 100644
--- a/.helix/languages.toml
+++ b/.helix/languages.toml
@@ -1,13 +1,13 @@
 [[language]]
 name = "rust"
 
-[[language.config.cargo]]
+[[language-server.rust-analyzer.config.cargo]]
 extraEnv = ["RUST_TARGET_PATH=targets"]
 # Select one of targets to make lsp work for your confguration
 # Do not commit this change
 # TODO: find a better way to do this
 # target = "aarch64-unknown-kernel"
 
-[[language.config.check]]
+[[language-server.rust-analyzer.config.check]]
 targets = ["x86_64-unknown-kernel", "i686-unknown-kernel", "aarch64-unknown-kernel"]