aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/map.h
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/map.h
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/map.h')
-rw-r--r--src/nvim/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/map.h b/src/nvim/map.h
index ac1239a548..65204a798b 100644
--- a/src/nvim/map.h
+++ b/src/nvim/map.h
@@ -7,6 +7,7 @@
#include "nvim/api/private/defs.h"
#include "nvim/api/private/dispatch.h"
#include "nvim/bufhl_defs.h"
+#include "nvim/highlight_defs.h"
#if defined(__NetBSD__)
# undef uint64_t
@@ -35,6 +36,7 @@ MAP_DECLS(ptr_t, ptr_t)
MAP_DECLS(uint64_t, ptr_t)
MAP_DECLS(handle_T, ptr_t)
MAP_DECLS(String, MsgpackRpcRequestHandler)
+MAP_DECLS(HlEntry, int)
#define map_new(T, U) map_##T##_##U##_new
#define map_free(T, U) map_##T##_##U##_free