diff options
author | Matthieu Coudron <mattator@gmail.com> | 2017-09-03 05:25:57 +0200 |
---|---|---|
committer | Matthieu Coudron <mattator@gmail.com> | 2017-09-30 11:43:26 +0900 |
commit | 3a006486397d611234abd9b429bce0b44d6b7747 (patch) | |
tree | bdb052dd9667e9900ddd6e1d281760700e5182b6 /src/nvim/syntax.c | |
parent | e3a2cca3878f44252eccdc1918cc8854145de860 (diff) | |
download | rneovim-3a006486397d611234abd9b429bce0b44d6b7747.tar.gz rneovim-3a006486397d611234abd9b429bce0b44d6b7747.tar.bz2 rneovim-3a006486397d611234abd9b429bce0b44d6b7747.zip |
Changed prototypes to accept a boolean "rgb"
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r-- | src/nvim/syntax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 2f48cc8757..32567a63de 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -8224,7 +8224,7 @@ RgbValue name_to_color(const uint8_t *name) /// Retrieves attribute description from its id /// /// @param attr_id attribute id -Dictionary hl_get_attr_by_id(Integer attr_id, Error *err) +Dictionary hl_get_attr_by_id(Integer attr_id, Boolean rgb, Error *err) { HlAttrs attrs = HLATTRS_INIT; Dictionary dic = ARRAY_DICT_INIT; @@ -8240,7 +8240,7 @@ Dictionary hl_get_attr_by_id(Integer attr_id, Error *err) return dic; } - attrs = attrentry2hlattrs(aep, p_tgc); + attrs = attrentry2hlattrs(aep, rgb); end: return hlattrs2dict(attrs); |