1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-20 20:21:58 +03:00
vimr/NvimView/NvimServer/SharedTypes.h

61 lines
1.4 KiB
C
Raw Normal View History

/**
* 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,
};
2018-01-21 16:16:07 +03:00
2018-01-23 22:40:20 +03:00
typedef NS_ENUM(NSInteger, NvimServerMsgId) {
NvimServerMsgIdServerReady = 0,
NvimServerMsgIdNvimReady,
NvimServerMsgIdResize,
NvimServerMsgIdClear,
NvimServerMsgIdSetMenu,
NvimServerMsgIdBusyStart,
NvimServerMsgIdBusyStop,
NvimServerMsgIdModeChange,
NvimServerMsgIdBell,
NvimServerMsgIdVisualBell,
NvimServerMsgIdFlush,
2018-08-02 12:46:01 +03:00
NvimServerMsgIdHighlightAttrs,
2018-01-23 22:40:20 +03:00
NvimServerMsgIdSetTitle,
NvimServerMsgIdStop,
2018-03-18 18:47:08 +03:00
NvimServerMsgIdOptionSet,
2018-01-21 16:16:07 +03:00
2018-01-23 22:40:20 +03:00
NvimServerMsgIdDirtyStatusChanged,
NvimServerMsgIdCwdChanged,
NvimServerMsgIdColorSchemeChanged,
NvimServerMsgIdDefaultColorsChanged,
2018-01-23 22:40:20 +03:00
NvimServerMsgIdAutoCommandEvent,
NvimServerMsgIdRpcEventSubscribed,
2018-01-23 22:40:20 +03:00
NvimServerMsgIdDebug1,
2018-01-21 16:16:07 +03:00
};
2018-01-23 22:40:20 +03:00
typedef NS_ENUM(NSInteger, NvimBridgeMsgId) {
NvimBridgeMsgIdAgentReady = 0,
NvimBridgeMsgIdReadyForRpcEvents,
2018-01-23 22:40:20 +03:00
NvimBridgeMsgIdInput,
2018-10-03 15:36:28 +03:00
NvimBridgeMsgIdDeleteInput,
2018-01-23 22:40:20 +03:00
NvimBridgeMsgIdResize,
NvimBridgeMsgIdScroll,
2018-01-21 16:16:07 +03:00
2018-01-23 22:40:20 +03:00
NvimBridgeMsgIdFocusGained,
2018-01-21 16:16:07 +03:00
2018-01-23 22:40:20 +03:00
NvimBridgeMsgIdDebug1,
2018-01-21 16:16:07 +03:00
};