From 989b585e105b4f343f639abf5daf820de19d4a26 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Sun, 8 Apr 2018 09:51:22 +0200 Subject: highlight: refactor to use stateful representation This allows us to keep track of the source higlight groups, and not only the final combined highlights. --- src/nvim/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/ui.c') diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 377e011d49..301d3be00e 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -339,7 +339,7 @@ void ui_set_highlight(int attr_code) HlAttrs attrs = HLATTRS_INIT; if (attr_code != 0) { - HlAttrs *aep = syn_cterm_attr2entry(attr_code); + HlAttrs *aep = syn_attr2entry(attr_code); if (aep) { attrs = *aep; } -- cgit