2016-07-09 15:04:09 +03:00
|
|
|
/**
|
|
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
|
|
* See LICENSE
|
|
|
|
*/
|
|
|
|
|
2016-10-22 18:25:43 +03:00
|
|
|
@import Foundation;
|
2016-07-09 15:04:09 +03:00
|
|
|
|
|
|
|
|
|
|
|
@class NeoVimServer;
|
|
|
|
|
|
|
|
extern NeoVimServer *_neovim_server;
|
|
|
|
|
2016-07-10 12:46:00 +03:00
|
|
|
extern void server_start_neovim();
|
2016-08-04 21:01:03 +03:00
|
|
|
extern void server_vim_command(NSString *input);
|
2016-09-02 19:22:40 +03:00
|
|
|
extern void server_vim_command_output(NSUInteger responseId, NSString *input);
|
2016-07-10 12:46:00 +03:00
|
|
|
extern void server_vim_input(NSString *input);
|
|
|
|
extern void server_delete(NSInteger count);
|
|
|
|
extern void server_resize(int width, int height);
|
|
|
|
extern void server_vim_input_marked_text(NSString *markedText);
|
2016-08-12 11:51:16 +03:00
|
|
|
extern bool server_has_dirty_docs();
|
|
|
|
extern NSString *server_escaped_filename(NSString *filename);
|
2016-08-12 19:00:05 +03:00
|
|
|
extern NSArray *server_buffers();
|
2016-10-22 23:20:22 +03:00
|
|
|
extern NSArray *server_tabs();
|
2016-11-10 22:42:42 +03:00
|
|
|
extern void server_get_bool_option(NSUInteger responseId, NSString *option);
|
|
|
|
extern void server_set_bool_option(NSUInteger responseId, NSString *option, bool value);
|
2016-10-23 20:42:51 +03:00
|
|
|
extern void server_select_win(int window_handle);
|
2016-08-12 19:00:05 +03:00
|
|
|
extern void server_quit();
|