mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 23:02:35 +03:00
GH-666 Remove unnce' case
This commit is contained in:
parent
4e4b8e5c4f
commit
7917a4f150
@ -248,9 +248,6 @@ public class NvimView: NSView,
|
|||||||
case let .modeChange(value):
|
case let .modeChange(value):
|
||||||
self.modeChange(value)
|
self.modeChange(value)
|
||||||
|
|
||||||
case let .unmark(value):
|
|
||||||
self.unmark(value)
|
|
||||||
|
|
||||||
case .bell:
|
case .bell:
|
||||||
self.bell()
|
self.bell()
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ class UiBridge {
|
|||||||
case mouseOn
|
case mouseOn
|
||||||
case mouseOff
|
case mouseOff
|
||||||
case modeChange(MessagePackValue)
|
case modeChange(MessagePackValue)
|
||||||
case unmark(MessagePackValue)
|
|
||||||
case bell
|
case bell
|
||||||
case visualBell
|
case visualBell
|
||||||
case flush([MessagePackValue])
|
case flush([MessagePackValue])
|
||||||
@ -200,10 +199,6 @@ class UiBridge {
|
|||||||
guard let v = MessagePackUtils.value(from: data) else { return }
|
guard let v = MessagePackUtils.value(from: data) else { return }
|
||||||
self.streamSubject.onNext(.modeChange(v))
|
self.streamSubject.onNext(.modeChange(v))
|
||||||
|
|
||||||
case .unmark:
|
|
||||||
guard let v = MessagePackUtils.value(from: data) else { return }
|
|
||||||
self.streamSubject.onNext(.unmark(v))
|
|
||||||
|
|
||||||
case .bell:
|
case .bell:
|
||||||
self.streamSubject.onNext(.bell)
|
self.streamSubject.onNext(.bell)
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ typedef NS_ENUM(NSInteger, NvimServerMsgId) {
|
|||||||
NvimServerMsgIdBusyStart,
|
NvimServerMsgIdBusyStart,
|
||||||
NvimServerMsgIdBusyStop,
|
NvimServerMsgIdBusyStop,
|
||||||
NvimServerMsgIdModeChange,
|
NvimServerMsgIdModeChange,
|
||||||
NvimServerMsgIdUnmark,
|
|
||||||
NvimServerMsgIdBell,
|
NvimServerMsgIdBell,
|
||||||
NvimServerMsgIdVisualBell,
|
NvimServerMsgIdVisualBell,
|
||||||
NvimServerMsgIdFlush,
|
NvimServerMsgIdFlush,
|
||||||
|
Loading…
Reference in New Issue
Block a user