aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-04-08 09:51:22 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-07-21 13:20:37 +0200
commit989b585e105b4f343f639abf5daf820de19d4a26 (patch)
tree6ec6611413f4d996a5294dc06f9942d92ae6e194 /src/nvim/ui.c
parent696e24f311acbb0ccfa1818fb016f19f0497d950 (diff)
downloadrneovim-989b585e105b4f343f639abf5daf820de19d4a26.tar.gz
rneovim-989b585e105b4f343f639abf5daf820de19d4a26.tar.bz2
rneovim-989b585e105b4f343f639abf5daf820de19d4a26.zip
highlight: refactor to use stateful representation
This allows us to keep track of the source higlight groups, and not only the final combined highlights.
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r--src/nvim/ui.c2
1 files changed, 1 insertions, 1 deletions
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;
}