diff options
author | Matthieu Coudron <mattator@gmail.com> | 2017-08-27 00:33:36 +0200 |
---|---|---|
committer | Matthieu Coudron <mattator@gmail.com> | 2017-09-30 11:43:26 +0900 |
commit | e3a2cca3878f44252eccdc1918cc8854145de860 (patch) | |
tree | b589f76c6c0e5a7a0519d2f01b6de68653f27507 /src/nvim/api/vim.c | |
parent | ba7277cfb4e2556f246446d06b53f3427f28130f (diff) | |
download | rneovim-e3a2cca3878f44252eccdc1918cc8854145de860.tar.gz rneovim-e3a2cca3878f44252eccdc1918cc8854145de860.tar.bz2 rneovim-e3a2cca3878f44252eccdc1918cc8854145de860.zip |
Increased test coverage for RGB and cterm
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 0459d9235d..bf3e4bc6a0 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -78,7 +78,7 @@ Dictionary nvim_get_hl_by_name(String name, Error *err) /// Retrieves highlight description from its id /// -/// @param hl_id highlight id as returned by hlID() +/// @param hl_id highlight id as returned by |hlID()| /// @see nvim_get_hl_by_name Dictionary nvim_get_hl_by_id(Integer hl_id, Error *err) FUNC_API_SINCE(3) @@ -89,7 +89,7 @@ Dictionary nvim_get_hl_by_id(Integer hl_id, Error *err) return dic; } int attrcode = syn_id2attr((int)hl_id); - return get_attr_by_id(attrcode, err); + return hl_get_attr_by_id(attrcode, err); } /// Passes input keys to Nvim. |