aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-04-08 09:51:22 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-07-21 13:20:37 +0200
commit989b585e105b4f343f639abf5daf820de19d4a26 (patch)
tree6ec6611413f4d996a5294dc06f9942d92ae6e194 /src/nvim/main.c
parent696e24f311acbb0ccfa1818fb016f19f0497d950 (diff)
downloadrneovim-989b585e105b4f343f639abf5daf820de19d4a26.tar.gz
rneovim-989b585e105b4f343f639abf5daf820de19d4a26.tar.bz2
rneovim-989b585e105b4f343f639abf5daf820de19d4a26.zip
highlight: refactor to use stateful representation
This allows us to keep track of the source higlight groups, and not only the final combined highlights.
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 460711cd36..528fd921bc 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -183,6 +183,7 @@ void early_init(void)
eval_init(); // init global variables
init_path(argv0 ? argv0 : "nvim");
init_normal_cmds(); // Init the table of Normal mode commands.
+ highlight_init();
#if defined(HAVE_LOCALE_H)
// Setup to use the current locale (for ctype() and many other things).