@@ -83,27 +83,27 @@ use crate::{
8383// NOTE: currently, if an assoc item comes from a trait that's not currently imported, and it also has an unresolved and/or partially-qualified path,
8484// no imports will be proposed.
8585//
86- // . Fuzzy search details
86+ // #### Fuzzy search details
8787//
8888// To avoid an excessive amount of the results returned, completion input is checked for inclusion in the names only
8989// (i.e. in `HashMap` in the `std::collections::HashMap` path).
9090// For the same reasons, avoids searching for any path imports for inputs with their length less than 2 symbols
9191// (but shows all associated items for any input length).
9292//
93- // . Import configuration
93+ // #### Import configuration
9494//
9595// It is possible to configure how use-trees are merged with the `imports.granularity.group` setting.
9696// Mimics the corresponding behavior of the `Auto Import` feature.
9797//
98- // . LSP and performance implications
98+ // #### LSP and performance implications
9999//
100100// The feature is enabled only if the LSP client supports LSP protocol version 3.16+ and reports the `additionalTextEdits`
101101// (case-sensitive) resolve client capability in its client capabilities.
102102// This way the server is able to defer the costly computations, doing them for a selected completion item only.
103103// For clients with no such support, all edits have to be calculated on the completion request, including the fuzzy search completion ones,
104104// which might be slow ergo the feature is automatically disabled.
105105//
106- // . Feature toggle
106+ // #### Feature toggle
107107//
108108// The feature can be forcefully turned off in the settings with the `rust-analyzer.completion.autoimport.enable` flag.
109109// Note that having this flag set to `true` does not guarantee that the feature is enabled: your client needs to have the corresponding
0 commit comments