edit predictions: Rename edit prediction modes (#25657)

`auto` -> `stealth`
`eager_preview` -> `eager`

Release Notes:

- N/A

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
This commit is contained in:
Agus Zubiaga
2025-02-26 20:23:39 +00:00
committed by GitHub
co-authored by Danilo Leal
parent 7a34dd9888
commit d694458659
4 changed files with 13 additions and 12 deletions
+3 -2
View File
@@ -244,10 +244,11 @@ pub struct EditPredictionSettings {
pub enum EditPredictionsMode {
/// If provider supports it, display inline when holding modifier key (e.g., alt).
/// Otherwise, eager preview is used.
Auto,
Subtle,
/// Display inline when there are no language server completions available.
#[default]
EagerPreview,
#[serde(alias = "eager_preview")]
Eager,
}
#[derive(Clone, Debug, Default)]