aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-07-16 10:17:29 +0200
committerGitHub <noreply@github.com>2019-07-16 10:17:29 +0200
commit8a3f8589a3eda5d42068fad5f5430f4e648f6f0e (patch)
tree148155fd00a28ad8979292ec5af5a39072411a4c /runtime
parent6aab5715c55504bf6301a5d4bc113485e881c6ae (diff)
parent857b29bdd8e093948311c5254a84745c9324b496 (diff)
downloadrneovim-8a3f8589a3eda5d42068fad5f5430f4e648f6f0e.tar.gz
rneovim-8a3f8589a3eda5d42068fad5f5430f4e648f6f0e.tar.bz2
rneovim-8a3f8589a3eda5d42068fad5f5430f4e648f6f0e.zip
Merge pull request #10504 from bfredl/hl_def
highlight: expose builtin highlight groups using hl_group_set event
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/ui.txt8
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