diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-07-14 13:26:40 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-07-14 13:26:40 +0200 |
commit | 857b29bdd8e093948311c5254a84745c9324b496 (patch) | |
tree | 6d6cb607649bb00b9e206738bf390be120bf51af /runtime | |
parent | 6f944d36cf8a89f128b638a6ea6b412d62f309bf (diff) | |
download | rneovim-857b29bdd8e093948311c5254a84745c9324b496.tar.gz rneovim-857b29bdd8e093948311c5254a84745c9324b496.tar.bz2 rneovim-857b29bdd8e093948311c5254a84745c9324b496.zip |
highlight: expose builtin highlight groups using hl_group_set event
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/ui.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt index c56f9467a3..1440e2ac78 100644 --- a/runtime/doc/ui.txt +++ b/runtime/doc/ui.txt @@ -316,6 +316,14 @@ numerical highlight ids to the actual attributes. `info` is an empty array by default, and will be used by the |ui-hlstate| extension explained below. +["hl_group_set", name, hl_id] + The bulitin highlight group `name` was set to use the attributes `hl_id` + defined by a previous `hl_attr_define` call. This event is not needed + to render the grids which use attribute ids directly, but is useful + for an UI who want to render its own elements with consistent + highlighting. For instance an UI using |ui-popupmenu| events, might + use the |hl-Pmenu| family of builtin highlights. + *ui-event-grid_line* ["grid_line", grid, row, col_start, cells] Redraw a continuous part of a `row` on a `grid`, starting at the column |