mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 11:18:19 +00:00
decorations: allow nvim_set_hl to break existing links
also add `default` flag to NOT break existing links/defs
This commit is contained in:
@@ -173,7 +173,9 @@ static bool provider_invoke(NS ns_id, const char *name, LuaRef ref,
|
||||
Error err = ERROR_INIT;
|
||||
|
||||
textlock++;
|
||||
provider_active = true;
|
||||
Object ret = nlua_call_ref(ref, name, args, true, &err);
|
||||
provider_active = false;
|
||||
textlock--;
|
||||
|
||||
if (!ERROR_SET(&err)
|
||||
|
Reference in New Issue
Block a user