mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-26 23:36:08 +03:00
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_OPTIONS(NSUInteger, FontTrait) {
|
|
FontTraitNone = 0,
|
|
FontTraitItalic = (1 << 0),
|
|
FontTraitBold = (1 << 1),
|
|
FontTraitUnderline = (1 << 2),
|
|
FontTraitUndercurl = (1 << 3)
|
|
};
|
|
|
|
typedef NS_ENUM(NSInteger, RenderDataType) {
|
|
RenderDataTypeRawLine,
|
|
RenderDataTypeGoto,
|
|
RenderDataTypeScroll,
|
|
};
|
|
|
|
typedef NS_ENUM(NSInteger, NvimServerMsgId) {
|
|
NvimServerMsgIdServerReady = 0,
|
|
NvimServerMsgIdNvimReady,
|
|
NvimServerMsgIdResize,
|
|
NvimServerMsgIdClear,
|
|
NvimServerMsgIdSetMenu,
|
|
NvimServerMsgIdBusyStart,
|
|
NvimServerMsgIdBusyStop,
|
|
NvimServerMsgIdModeChange,
|
|
NvimServerMsgIdBell,
|
|
NvimServerMsgIdVisualBell,
|
|
NvimServerMsgIdFlush,
|
|
NvimServerMsgIdHighlightAttrs,
|
|
NvimServerMsgIdSetTitle,
|
|
NvimServerMsgIdStop,
|
|
NvimServerMsgIdOptionSet,
|
|
|
|
NvimServerMsgIdDirtyStatusChanged,
|
|
NvimServerMsgIdCwdChanged,
|
|
NvimServerMsgIdColorSchemeChanged,
|
|
NvimServerMsgIdDefaultColorsChanged,
|
|
NvimServerMsgIdAutoCommandEvent,
|
|
NvimServerMsgIdRpcEventSubscribed,
|
|
|
|
NvimServerMsgIdDebug1,
|
|
};
|
|
|
|
typedef NS_ENUM(NSInteger, NvimBridgeMsgId) {
|
|
NvimBridgeMsgIdAgentReady = 0,
|
|
NvimBridgeMsgIdReadyForRpcEvents,
|
|
NvimBridgeMsgIdInput,
|
|
NvimBridgeMsgIdDeleteInput,
|
|
NvimBridgeMsgIdResize,
|
|
NvimBridgeMsgIdScroll,
|
|
|
|
NvimBridgeMsgIdFocusGained,
|
|
|
|
NvimBridgeMsgIdDebug1,
|
|
};
|