1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-24 03:25:03 +03:00

Fix reverse search

This commit is contained in:
Tae Won Ha 2017-12-03 16:41:29 +01:00
parent 587934b3ac
commit d691e213b9
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -22,6 +22,9 @@ class PreviewToolReducer {
state.preview = PreviewUtils.state(for: pair.state.uuid,
baseUrl: self.baseServerUrl,
buffer: state.currentBuffer)
state.preview.ignoreNextReverse = true
state.preview.ignoreNextForward = true
state.preview.forceNextReverse = false
case let .reverseSearch(to:position):
state.preview.previewPosition = position