aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.h
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-11-12 16:59:36 +0300
committerZyX <kp-pav@yandex.ru>2017-11-13 01:11:13 +0300
commit556451a7f2fd513db33b9d7ac1b653d356b7b915 (patch)
tree60293632940d9471b6ca27d39fa499a249f7c53e /src/nvim/syntax.h
parent45445e2e03f1cbfa25dde76ccf3e24d0d297cabe (diff)
downloadrneovim-556451a7f2fd513db33b9d7ac1b653d356b7b915.tar.gz
rneovim-556451a7f2fd513db33b9d7ac1b653d356b7b915.tar.bz2
rneovim-556451a7f2fd513db33b9d7ac1b653d356b7b915.zip
unittests,syntax: Check for sanity of highlight_init_cmdline
Also fixes some errors found.
Diffstat (limited to 'src/nvim/syntax.h')
-rw-r--r--src/nvim/syntax.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/syntax.h b/src/nvim/syntax.h
index bb733ead30..c9b0665ec8 100644
--- a/src/nvim/syntax.h
+++ b/src/nvim/syntax.h
@@ -45,6 +45,9 @@ typedef struct {
} color_name_table_T;
extern color_name_table_T color_name_table[];
+/// Array of highlight definitions, used for unit testing
+extern const char *const highlight_init_cmdline[];
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "syntax.h.generated.h"
#endif