1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 15:25:14 +03:00
vimr/NeoVimXpc/NeoVimXpc.h
2016-07-09 14:05:04 +02:00

29 lines
701 B
Objective-C

/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
@import Foundation;
@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)startServerWithUuid:(NSString * _Nonnull)uuid;
- (void)vimInput:(NSString * _Nonnull)input;
- (void)vimInputMarkedText:(NSString *_Nonnull)markedText;
- (void)deleteCharacters:(NSInteger)count;
- (void)resizeToWidth:(int)width height:(int)height;
- (void)forceRedraw;
- (void)debug1;
@end