Mercurial > vim
diff runtime/doc/usr_41.txt @ 26089:c544eacaf066 v8.2.3578
patch 8.2.3578: manipulating highlighting is complicated
Commit: https://github.com/vim/vim/commit/d1a8d658e1b16cf8579fc72cf7aa6a29a57ff5ef
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Wed Nov 3 21:56:45 2021 +0000
patch 8.2.3578: manipulating highlighting is complicated
Problem: Manipulating highlighting is complicated.
Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
closes #9039)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 03 Nov 2021 23:00:08 +0100 |
parents | 65de67669df3 |
children | eafb9fd4ec32 |
line wrap: on
line diff
--- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -925,6 +925,8 @@ Syntax and highlighting: *syntax-funct 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