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 17:23:39 -03:00 committed by GitHub
parent 7a34dd9888
commit d694458659
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 12 deletions

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)]