aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-01-14 15:19:33 -0500
committerMichael Reed <m.reed@mykolab.com>2015-01-14 22:23:16 -0500
commitd2e7cce560932e5e8032656598b0e27e1c06ec0d (patch)
tree4e8501964f5750f4b0e022e52a8e859c9e815223 /src/nvim/syntax.c
parentcd8e91b87ebda1850c22ea91068b679f7e8af3a4 (diff)
downloadrneovim-d2e7cce560932e5e8032656598b0e27e1c06ec0d.tar.gz
rneovim-d2e7cce560932e5e8032656598b0e27e1c06ec0d.tar.bz2
rneovim-d2e7cce560932e5e8032656598b0e27e1c06ec0d.zip
Macro cleanup: Miscellaneous
These were found with -Wunused-macros. There are many more macros which triggered that warning, but they were primarily part of larger sets of macros so leave them alone.
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 1a1b42924f..ae6c7b009a 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -223,8 +223,6 @@ struct name_list {
#define ATTR_OFF (HL_ALL + 1)
-#define SYN_NAMELEN 50 /* maximum length of a syntax name */
-
static char *(spo_name_tab[SPO_COUNT]) =
{"ms=", "me=", "hs=", "he=", "rs=", "re=", "lc="};
@@ -6070,8 +6068,6 @@ do_highlight (
int error = FALSE;
int color;
int is_normal_group = FALSE; /* "Normal" group */
-# define is_menu_group 0
-# define is_tooltip_group 0
/*
* If no argument, list current highlighting.