mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
move HL_* variables to syntax.h
This commit is contained in:
@@ -5,6 +5,19 @@
|
|||||||
|
|
||||||
typedef int guicolor_T;
|
typedef int guicolor_T;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Terminal highlighting attribute bits.
|
||||||
|
* Attributes above HL_ALL are used for syntax highlighting.
|
||||||
|
*/
|
||||||
|
#define HL_NORMAL 0x00
|
||||||
|
#define HL_INVERSE 0x01
|
||||||
|
#define HL_BOLD 0x02
|
||||||
|
#define HL_ITALIC 0x04
|
||||||
|
#define HL_UNDERLINE 0x08
|
||||||
|
#define HL_UNDERCURL 0x10
|
||||||
|
#define HL_STANDOUT 0x20
|
||||||
|
#define HL_ALL 0x3f
|
||||||
|
|
||||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||||
# include "syntax.h.generated.h"
|
# include "syntax.h.generated.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -160,19 +160,6 @@ typedef uint32_t u8char_T;
|
|||||||
#define VALID_BOTLINE_AP 0x40 /* w_botine is approximated */
|
#define VALID_BOTLINE_AP 0x40 /* w_botine is approximated */
|
||||||
#define VALID_TOPLINE 0x80 /* w_topline is valid (for cursor position) */
|
#define VALID_TOPLINE 0x80 /* w_topline is valid (for cursor position) */
|
||||||
|
|
||||||
/*
|
|
||||||
* Terminal highlighting attribute bits.
|
|
||||||
* Attributes above HL_ALL are used for syntax highlighting.
|
|
||||||
*/
|
|
||||||
#define HL_NORMAL 0x00
|
|
||||||
#define HL_INVERSE 0x01
|
|
||||||
#define HL_BOLD 0x02
|
|
||||||
#define HL_ITALIC 0x04
|
|
||||||
#define HL_UNDERLINE 0x08
|
|
||||||
#define HL_UNDERCURL 0x10
|
|
||||||
#define HL_STANDOUT 0x20
|
|
||||||
#define HL_ALL 0x3f
|
|
||||||
|
|
||||||
/* special attribute addition: Put message in history */
|
/* special attribute addition: Put message in history */
|
||||||
#define MSG_HIST 0x1000
|
#define MSG_HIST 0x1000
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user