Multicursor vim registers (#13025)

Release Notes:

- vim: Added support for multicursor registers (#11687)
- vim: Added support for the `"/` register
This commit is contained in:
Conrad Irwin 2024-06-13 20:32:58 -06:00 committed by GitHub
parent 068b1c235c
commit a5af5b2883
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 333 additions and 250 deletions

View file

@ -17,7 +17,6 @@ use crate::{
normal::{mark, normal_motion},
state::{Mode, Operator},
surrounds::SurroundsType,
utils::coerce_punctuation,
visual::visual_motion,
Vim,
};
@ -1764,6 +1763,14 @@ fn window_bottom(
}
}
pub fn coerce_punctuation(kind: CharKind, treat_punctuation_as_word: bool) -> CharKind {
if treat_punctuation_as_word && kind == CharKind::Punctuation {
CharKind::Word
} else {
kind
}
}
#[cfg(test)]
mod test {