diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2020-11-08 11:36:47 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2020-11-21 11:24:14 +0100 |
commit | a4986ab47f4561ca82581b1a5f7c21004b05cee9 (patch) | |
tree | 1e385debd9f2dd9b1389bf57498c64e9e3cd0e8f /src/nvim/screen.c | |
parent | 480b04122e93826bdfc74fbeacab2d94b089420f (diff) | |
download | rneovim-a4986ab47f4561ca82581b1a5f7c21004b05cee9.tar.gz rneovim-a4986ab47f4561ca82581b1a5f7c21004b05cee9.tar.bz2 rneovim-a4986ab47f4561ca82581b1a5f7c21004b05cee9.zip |
decorations: allow nvim_set_hl to break existing links
also add `default` flag to NOT break existing links/defs
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 8998f9037e..5f09912116 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -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) |