mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 14:52:19 +03:00
a7716c5c7e
- Cleaning the swap files are done by `ml_close_all()` in `mch_exit()` and now we call it before stopping UI in neovim. - When all main windows are closed we quit. Using Observable here, but it's messy...
24 lines
675 B
Objective-C
24 lines
675 B
Objective-C
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
@class NeoVimServer;
|
|
|
|
extern NeoVimServer *_neovim_server;
|
|
|
|
extern void server_start_neovim();
|
|
extern void server_vim_command(NSString *input);
|
|
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);
|
|
extern void server_insert_marked_text(NSString *markedText);
|
|
extern bool server_has_dirty_docs();
|
|
extern NSString *server_escaped_filename(NSString *filename);
|
|
extern NSArray *server_buffers();
|
|
extern void server_quit();
|