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:
parent
207eb51df1
commit
5948ea217b
4 changed files with 10 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue