mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +00:00
feat(keysets): teach Union and LuaRefOf
This commit is contained in:

committed by
Lewis Russell

parent
99e7323aa3
commit
8d55cc218c
@@ -1075,10 +1075,10 @@ HlAttrs dict2hlattrs(Dict(highlight) *dict, bool use_rgb, int *link_id, Error *e
|
||||
return hlattrs;
|
||||
}
|
||||
if (HAS_KEY_X(dict, global_link)) {
|
||||
*link_id = object_to_hl_id(dict->global_link, "link", err);
|
||||
*link_id = (int)dict->global_link;
|
||||
mask |= HL_GLOBAL;
|
||||
} else {
|
||||
*link_id = object_to_hl_id(dict->link, "link", err);
|
||||
*link_id = (int)dict->link;
|
||||
}
|
||||
|
||||
if (ERROR_SET(err)) {
|
||||
|
Reference in New Issue
Block a user