Module ra_ap_rust_analyzer::config[][src]

Config used by the language server.

We currently get this config from initialize LSP request, which is not the best way to do it, but was the simplest thing we could implement.

Of particular interest is the feature_flags hash map: while other fields configure the server itself, feature flags are passed into analysis, and tweak things like automatic insertion of () in completions.

Structs

Config
FilesConfig
LensConfig
NotificationsConfig
RunnablesConfig

Configuration for runnable items, such as main function or tests.

Enums

FilesWatcher
LinkedProject
RustfmtConfig