aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/syntax.h')
-rw-r--r--src/nvim/syntax.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/nvim/syntax.h b/src/nvim/syntax.h
index ce79c49e69..342ee4e2b1 100644
--- a/src/nvim/syntax.h
+++ b/src/nvim/syntax.h
@@ -5,6 +5,19 @@
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
# include "syntax.h.generated.h"
#endif