mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-27 15:53:31 +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...
61 lines
1.4 KiB
Objective-C
61 lines
1.4 KiB
Objective-C
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
typedef NS_ENUM(NSUInteger, NeoVimServerMsgId) {
|
|
NeoVimServerMsgIdServerReady = 0,
|
|
NeoVimServerMsgIdNeoVimReady,
|
|
NeoVimServerMsgIdResize,
|
|
NeoVimServerMsgIdClear,
|
|
NeoVimServerMsgIdEolClear,
|
|
NeoVimServerMsgIdSetPosition,
|
|
NeoVimServerMsgIdSetMenu,
|
|
NeoVimServerMsgIdBusyStart,
|
|
NeoVimServerMsgIdBusyStop,
|
|
NeoVimServerMsgIdMouseOn,
|
|
NeoVimServerMsgIdMouseOff,
|
|
NeoVimServerMsgIdModeChange,
|
|
NeoVimServerMsgIdSetScrollRegion,
|
|
NeoVimServerMsgIdScroll,
|
|
NeoVimServerMsgIdSetHighlightAttributes,
|
|
NeoVimServerMsgIdPut,
|
|
NeoVimServerMsgIdPutMarked,
|
|
NeoVimServerMsgIdUnmark,
|
|
NeoVimServerMsgIdBell,
|
|
NeoVimServerMsgIdVisualBell,
|
|
NeoVimServerMsgIdFlush,
|
|
NeoVimServerMsgIdSetForeground,
|
|
NeoVimServerMsgIdSetBackground,
|
|
NeoVimServerMsgIdSetSpecial,
|
|
NeoVimServerMsgIdSuspend,
|
|
NeoVimServerMsgIdSetTitle,
|
|
NeoVimServerMsgIdSetIcon,
|
|
NeoVimServerMsgIdStop,
|
|
|
|
#ifdef DEBUG
|
|
NeoVimServerDebug1,
|
|
#endif
|
|
};
|
|
|
|
typedef NS_ENUM(NSUInteger, NeoVimAgentMsgId) {
|
|
NeoVimAgentMsgIdAgentReady = 0,
|
|
NeoVimAgentMsgIdCommand,
|
|
NeoVimAgentMsgIdInput,
|
|
NeoVimAgentMsgIdInputMarked,
|
|
NeoVimAgentMsgIdDelete,
|
|
NeoVimAgentMsgIdResize,
|
|
|
|
NeoVimAgentMsgIdQuit,
|
|
NeoVimAgentMsgIdDirtyDocs,
|
|
NeoVimAgentMsgIdEscapeFileNames,
|
|
NeoVimAgentMsgIdGetBuffers,
|
|
|
|
#ifdef DEBUG
|
|
NeoVimAgentDebug1,
|
|
#endif
|
|
};
|