vim: Fix some dw edge cases (#3058)

Release Notes:

- vim: Fix `dw` on the last word of a line, and on empty lines.
This commit is contained in:
Conrad Irwin 2023-09-28 15:32:29 -06:00 committed by GitHub
commit e7ee8a95f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 75 additions and 28 deletions

View file

@ -23,8 +23,6 @@ pub enum ExemptionFeatures {
// MOTIONS
// When an operator completes at the end of the file, an extra newline is left
OperatorLastNewlineRemains,
// Deleting a word on an empty line doesn't remove the newline
DeleteWordOnEmptyLine,
// OBJECTS
// Resulting position after the operation is slightly incorrect for unintuitive reasons.