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

GH-339 "Migrate" start

This commit is contained in:
Tae Won Ha 2017-01-06 09:36:46 +01:00
parent 0029ffa684
commit 2b91b32e9b
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -75,6 +75,10 @@ static CFDataRef local_server_callback(CFMessagePortRef local, SInt32 msgid, CFD
switch (msgid) {
case NeoVimAgentMsgIdAgentReady:
server_start_neovim();
return nil;
case NeoVimAgentMsgIdCommandOutput: return data_sync(data, outputCondition, neovim_vim_command_output);
case NeoVimAgentMsgIdSelectWindow: return null_data_async(data, neovim_select_window);
@ -236,10 +240,6 @@ static CFDataRef local_server_callback(CFMessagePortRef local, SInt32 msgid, CFD
- (NSData *)handleMessageWithId:(SInt32)msgid data:(NSData *)data {
switch (msgid) {
case NeoVimAgentMsgIdAgentReady:
server_start_neovim();
return nil;
case NeoVimAgentMsgIdInput: {
NSString *string = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
server_vim_input(string);