aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrandon Coleman <metrix1978@gmail.com>2014-05-28 07:45:43 -0500
committerBrandon Coleman <metrix1978@gmail.com>2014-06-12 01:20:36 -0500
commite41284df2199a90c5ff70beddb814d116336c0ba (patch)
treea2f362b834d7c4629a2c6fbf29247cd358738050 /src
parentebd412681ede21a9f759f2d0d1eff711b782ab29 (diff)
downloadrneovim-e41284df2199a90c5ff70beddb814d116336c0ba.tar.gz
rneovim-e41284df2199a90c5ff70beddb814d116336c0ba.tar.bz2
rneovim-e41284df2199a90c5ff70beddb814d116336c0ba.zip
move HL_* variables to syntax.h
Diffstat (limited to 'src')
-rw-r--r--src/nvim/syntax.h13
-rw-r--r--src/nvim/vim.h13
2 files changed, 13 insertions, 13 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
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index c9a499dbde..eefb97962f 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -160,19 +160,6 @@ typedef uint32_t u8char_T;
#define VALID_BOTLINE_AP 0x40 /* w_botine is approximated */
#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 */
#define MSG_HIST 0x1000