add minimal modifications to implementation of 'dge' motion, so that failing test for 'dge' motion passes
This commit is contained in:
@@ -373,6 +373,9 @@ struct
|
|||||||
end
|
end
|
||||||
|
|
||||||
fun deleteToEndOfPrevWord (app: app_type, count, time) =
|
fun deleteToEndOfPrevWord (app: app_type, count, time) =
|
||||||
|
if #cursorIdx app = 0 then
|
||||||
|
NormalFinish.clearMode app
|
||||||
|
else
|
||||||
let
|
let
|
||||||
val {buffer, cursorIdx, ...} = app
|
val {buffer, cursorIdx, ...} = app
|
||||||
|
|
||||||
@@ -385,6 +388,9 @@ struct
|
|||||||
end
|
end
|
||||||
|
|
||||||
fun deleteToEndOfPrevWORD (app: app_type, count, time) =
|
fun deleteToEndOfPrevWORD (app: app_type, count, time) =
|
||||||
|
if #cursorIdx app = 0 then
|
||||||
|
NormalFinish.clearMode app
|
||||||
|
else
|
||||||
let
|
let
|
||||||
val {buffer, cursorIdx, ...} = app
|
val {buffer, cursorIdx, ...} = app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user