Allow crate authors to control completion of their things

Via the new `#[rust_analyzer::completions(...)]` attribute.

Also fix a bug with existing settings for that where the paths wouldn't resolve correctly.
This commit is contained in:
Chayim Refael Friedman 2025-03-16 13:24:11 +02:00
parent 62e7d9f0fc
commit 7b584ef9bf
30 changed files with 770 additions and 293 deletions

View file

@ -521,4 +521,8 @@ define_symbols! {
win64,
array,
boxed_slice,
completions,
ignore_flyimport,
ignore_flyimport_methods,
ignore_methods,
}