summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-03-15 22:34:55 +0000
committerBram Moolenaar <Bram@vim.org>2005-03-15 22:34:55 +0000
commit3918c950c99a626a9fa40e58d7976bffb2e17f5e (patch)
tree43cc4ce3c4ed5473772cd4e175f009290efdf961 /src/vim.h
parent28a37ffcf79cfa8139246cecba918f3258e411ea (diff)
downloadvim-git-3918c950c99a626a9fa40e58d7976bffb2e17f5e.tar.gz
updated for version 7.0060
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/vim.h b/src/vim.h
index 91edd63ba..4538d3594 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -346,10 +346,15 @@ typedef unsigned long long_u;
/*
* The characters and attributes cached for the screen.
- * Currently a single byte. The attributes may become larger some day.
*/
#define schar_T char_u
-#define sattr_T char_u
+#ifdef FEAT_SYN_HL
+typedef unsigned short sattr_T;
+# define MAX_TYPENR 65535
+#else
+typedef unsigned char sattr_T;
+# define MAX_TYPENR 255
+#endif
/*
* The u8char_T can hold one decoded UTF-8 character.
@@ -535,8 +540,9 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname);
#define HL_BOLD 0x02
#define HL_ITALIC 0x04
#define HL_UNDERLINE 0x08
-#define HL_STANDOUT 0x10
-#define HL_ALL 0x1f
+#define HL_UNDERCURL 0x10
+#define HL_STANDOUT 0x20
+#define HL_ALL 0x3f
/* special attribute addition: Put message in history */
#define MSG_HIST 0x1000