summaryrefslogtreecommitdiff
path: root/runtime/doc/usr_41.txt
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-11-03 21:56:45 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-03 21:56:45 +0000
commitd1a8d658e1b16cf8579fc72cf7aa6a29a57ff5ef (patch)
tree76bdb7aa3e539c8f3c35fa288386243511f8c5ed /runtime/doc/usr_41.txt
parent0f0044125c2a5dcde2c4605efc39d2e237eed024 (diff)
downloadvim-git-d1a8d658e1b16cf8579fc72cf7aa6a29a57ff5ef.tar.gz
patch 8.2.3578: manipulating highlighting is complicatedv8.2.3578
Problem: Manipulating highlighting is complicated. Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan, closes #9039)
Diffstat (limited to 'runtime/doc/usr_41.txt')
-rw-r--r--runtime/doc/usr_41.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt
index 4ea51f986..89bd54282 100644
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -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