patch 8.2.3578: manipulating highlighting is complicated

Problem:    Manipulating highlighting is complicated.
Solution:   Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
            closes #9039)
This commit is contained in:
Yegappan Lakshmanan
2021-11-03 21:56:45 +00:00
committed by Bram Moolenaar
parent 0f0044125c
commit d1a8d658e1
9 changed files with 724 additions and 0 deletions

View File

@ -925,6 +925,8 @@ Syntax and highlighting: *syntax-functions* *highlighting-functions*
getmatches() get all matches defined by |matchadd()| and
the |:match| commands
hlexists() check if a highlight group exists
hlget() get highlight group attributes
hlset() set highlight group attributes
hlID() get ID of a highlight group
synID() get syntax ID at a specific position
synIDattr() get a specific attribute of a syntax ID