mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
refactor(highlight): merge redundant attr_entries and attr_entry_ids structs
An insert-only set now defines a monotonically increasing ordering by itself. It can be used to both lookup the key from index, and vice versa.
This commit is contained in:
@@ -196,9 +196,6 @@ void mh_clear(MapHash *h)
|
||||
|
||||
#define KEY_NAME(x) x##HlEntry
|
||||
#include "nvim/map_key_impl.c.h"
|
||||
#define VAL_NAME(x) quasiquote(x, int)
|
||||
#include "nvim/map_value_impl.c.h"
|
||||
#undef VAL_NAME
|
||||
#undef KEY_NAME
|
||||
|
||||
#define KEY_NAME(x) x##ColorKey
|
||||
|
Reference in New Issue
Block a user