diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2020-11-07 15:34:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 15:34:32 +0100 |
commit | 643f4a178751df34b27189f7aebea313b17bad3b (patch) | |
tree | ca85909dc4e89115dd5c8b5d79158185bc3ca8ff /src/nvim/highlight.c | |
parent | e5d83a3bf344a4ab0ef539d70004c2b771e1044a (diff) | |
parent | 8497d4b3ea9822cfb4d2bf2437997e837fd4827c (diff) | |
download | rneovim-643f4a178751df34b27189f7aebea313b17bad3b.tar.gz rneovim-643f4a178751df34b27189f7aebea313b17bad3b.tar.bz2 rneovim-643f4a178751df34b27189f7aebea313b17bad3b.zip |
Merge pull request #13241 from bfredl/decoration
decoration: split out "decoration" from "extmark" module
Diffstat (limited to 'src/nvim/highlight.c')
-rw-r--r-- | src/nvim/highlight.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/highlight.c b/src/nvim/highlight.c index 8403615166..898ff4ebfe 100644 --- a/src/nvim/highlight.c +++ b/src/nvim/highlight.c @@ -156,7 +156,7 @@ static ColorKey colored_key(NS ns_id, int syn_id) void ns_hl_def(NS ns_id, int hl_id, HlAttrs attrs, int link_id) { - DecorationProvider *p = get_provider(ns_id, true); + DecorProvider *p = get_provider(ns_id, true); int attr_id = link_id > 0 ? -1 : hl_get_syn_attr(ns_id, hl_id, attrs); ColorItem it = { .attr_id = attr_id, .link_id = link_id, @@ -175,7 +175,7 @@ int ns_get_hl(NS ns_id, int hl_id, bool link) ns_id = ns_hl_active; } - DecorationProvider *p = get_provider(ns_id, true); + DecorProvider *p = get_provider(ns_id, true); ColorItem it = map_get(ColorKey, ColorItem)(ns_hl, colored_key(ns_id, hl_id)); // TODO(bfredl): map_ref true even this? bool valid_cache = it.version >= p->hl_valid; |