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:
committed by
Bram Moolenaar
parent
0f0044125c
commit
d1a8d658e1
@ -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
|
||||
|
||||
Reference in New Issue
Block a user