From a4d51da309d33461d4a6aabf2acda3454cdb2485 Mon Sep 17 00:00:00 2001 From: Remo Senekowitsch Date: Sun, 5 Oct 2025 13:40:25 +0200 Subject: [PATCH] docs: Mention editor-independent configuration --- src/tools/rust-analyzer/docs/book/src/configuration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tools/rust-analyzer/docs/book/src/configuration.md b/src/tools/rust-analyzer/docs/book/src/configuration.md index 3f4cb197141f..708eecd43561 100644 --- a/src/tools/rust-analyzer/docs/book/src/configuration.md +++ b/src/tools/rust-analyzer/docs/book/src/configuration.md @@ -46,6 +46,11 @@ To verify which configuration is actually used by `rust-analyzer`, set config-related messages. Logs should show both the JSON that `rust-analyzer` sees as well as the updated config. +(Work in progress:) It is also possible to place configuration in a +`rust-analyzer.toml` file. It should be located in the project root or in your +user configuration directory (e.g. `~/.config/rust-analyzer/`). This is a work in +progress, many configuration options aren't supported yet. + This is the list of config options `rust-analyzer` supports: {{#include configuration_generated.md}}