1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 02:54:31 +03:00

GH-543 Use logger

This commit is contained in:
Tae Won Ha 2018-04-06 23:28:08 +02:00
parent 5870620309
commit 32bb271582
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -68,18 +68,16 @@ extension NvimView {
}
public override func doCommand(by aSelector: Selector) {
// self.logger.debug("\(#function): \(aSelector)");
// FIXME: handle when -> delete
if self.responds(to: aSelector) {
Swift.print("\(#function): calling \(aSelector)")
self.logger.debug("calling \(aSelector)")
self.perform(aSelector, with: self)
self.keyDownDone = true
return
}
// self.logger.debug("\(#function): "\(aSelector) not implemented, forwarding input to vim")
self.logger.debug("\(aSelector) not implemented, forwarding input to neovim")
self.keyDownDone = false
}