diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-05-11 15:07:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 15:07:00 +0200 |
commit | 7d82ea01025b6981e0233ca9a5e7ee62c8b5bcad (patch) | |
tree | 00d085089e5506a7c10a90fcffb89b888aab2688 /src/nvim/api/vim.c | |
parent | 5c9b4948d40e851a640f989d65511977a19c6bdd (diff) | |
parent | 0559d3f9c6bbcf6110e04a6f831b077e832be879 (diff) | |
download | rneovim-7d82ea01025b6981e0233ca9a5e7ee62c8b5bcad.tar.gz rneovim-7d82ea01025b6981e0233ca9a5e7ee62c8b5bcad.tar.bz2 rneovim-7d82ea01025b6981e0233ca9a5e7ee62c8b5bcad.zip |
Merge pull request #14243 from shadmansaleh/Allow_cterm_colors_nvim_set_hl
API: Adding cterm support to nvim_set_hl
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index c363c77afb..e0eebd079f 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -221,6 +221,12 @@ Dictionary nvim__get_hl_defs(Integer ns_id, Error *err) /// in addition the following keys are also recognized: /// `default`: don't override existing definition, /// like `hi default` +/// `ctermfg`: sets foreground of cterm color +/// `ctermbg`: sets background of cterm color +/// `cterm` : cterm attribute map. sets attributed for +/// cterm colors. similer to `hi cterm` +/// Note: by default cterm attributes are +/// same as attributes of gui color /// @param[out] err Error details, if any /// /// TODO: ns_id = 0, should modify :highlight namespace |