Configure Highlight settings on yank vim (#21479)

Release Notes:

- Add settings / config variables to control `highlight_on_yank` or
`highlight_on_copy`

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
Vedant Matanhelia 2024-12-04 21:53:31 +05:30 committed by GitHub
parent 207eb51df1
commit 5948ea217b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 3 deletions

View file

@ -1199,6 +1199,7 @@ struct VimSettings {
pub use_multiline_find: bool,
pub use_smartcase_find: bool,
pub custom_digraphs: HashMap<String, Arc<str>>,
pub highlight_on_yank_duration: u64,
}
#[derive(Clone, Default, Serialize, Deserialize, JsonSchema)]
@ -1208,6 +1209,7 @@ struct VimSettingsContent {
pub use_multiline_find: Option<bool>,
pub use_smartcase_find: Option<bool>,
pub custom_digraphs: Option<HashMap<String, Arc<str>>>,
pub highlight_on_yank_duration: Option<u64>,
}
impl Settings for VimSettings {