Skip to content

Commit 96cfb06

Browse files
author
stites
committed
clean up warnings
1 parent ad6bb49 commit 96cfb06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

yi-keymap-vim/src/Yi/Keymap/Vim/VisualMap.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ replaceBinding = VimBindingE (f . T.unpack . _unEv)
230230
region <- withCurrentBuffer regionOfSelectionB
231231
withCurrentBuffer $ transformCharactersInRegionB (StyledRegion style region)
232232
(\x -> if x == '\n' then x else c)
233-
escAction
233+
void escAction
234234
return Finish
235235
_ -> NoMatch
236236
f _ _ = NoMatch
@@ -338,7 +338,7 @@ tagJumpBinding = VimBindingY (f . T.unpack . _unEv)
338338
= WholeMatch $ do
339339
tag <- Tag . R.toText <$> withCurrentBuffer
340340
(regionOfSelectionB >>= readRegionB)
341-
withEditor escAction
341+
void $ withEditor escAction
342342
gotoTag tag 0 Nothing
343343
return Finish
344344
f _ _ = NoMatch

0 commit comments

Comments
 (0)