diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-04-08 09:51:22 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-07-21 13:20:37 +0200 |
commit | 989b585e105b4f343f639abf5daf820de19d4a26 (patch) | |
tree | 6ec6611413f4d996a5294dc06f9942d92ae6e194 /src/nvim/ex_getln.c | |
parent | 696e24f311acbb0ccfa1818fb016f19f0497d950 (diff) | |
download | rneovim-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/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index d6f55ae7f7..6b52ce7c80 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -2953,7 +2953,7 @@ static void ui_ext_cmdline_show(CmdlineInfo *line) Array item = ARRAY_DICT_INIT; if (chunk.attr) { - HlAttrs *aep = syn_cterm_attr2entry(chunk.attr); + HlAttrs *aep = syn_attr2entry(chunk.attr); // TODO(bfredl): this desicion could be delayed by making attr_code a // recognized type Dictionary rgb_attrs = hlattrs2dict(aep, true); |