mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-27 15:53:31 +03:00
1ca45e84c5
- Input events are fed and processed in two different threads. We want to be sure that our NSStrings are released only after the processing of the event has been done.
20 lines
465 B
Objective-C
20 lines
465 B
Objective-C
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@protocol NeoVimXpc <NSObject>
|
|
|
|
/**
|
|
* It seems that the XPC service does not get instantiated as long as no actual calls are made. However, we want neovim
|
|
* run as soon as we establish the connection. To achieve this, the client can call -probe which does not call anything
|
|
* on neovim.
|
|
*/
|
|
- (void)probe;
|
|
|
|
- (void)vimInput:(NSString * _Nonnull)input;
|
|
|
|
@end
|