From 58dc57c855c6923155c80a0332dd3126f687fa38 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 23 Jul 2026 03:29:31 +0800 Subject: feat: add section-aware TOML key lookup for rust-analyzer config Make TOML key lookups in `mlint install` commands aware of the `[rust-analyzer]` section boundaries. Introduce a shared TOML section parsing utility and refactor `find_key_value` and `find_table_header` into section-scoped equivalents (`find_key_in_section`, `build_override_insert`). Also add a build script to copy `.run/rust-analyzer.toml` to the workspace root if absent, and add the generated copy to `.gitignore`. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 63d40ed..63c1d0e 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,6 @@ __*/ # Fuck nul + +# Rust Analyzer Toml +./rust-analyzer.toml -- cgit