comparison 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
comparison
equal deleted inserted replaced
26088:37d400a117f7 26089:c544eacaf066
923 clearmatches() clear all matches defined by |matchadd()| and 923 clearmatches() clear all matches defined by |matchadd()| and
924 the |:match| commands 924 the |:match| commands
925 getmatches() get all matches defined by |matchadd()| and 925 getmatches() get all matches defined by |matchadd()| and
926 the |:match| commands 926 the |:match| commands
927 hlexists() check if a highlight group exists 927 hlexists() check if a highlight group exists
928 hlget() get highlight group attributes
929 hlset() set highlight group attributes
928 hlID() get ID of a highlight group 930 hlID() get ID of a highlight group
929 synID() get syntax ID at a specific position 931 synID() get syntax ID at a specific position
930 synIDattr() get a specific attribute of a syntax ID 932 synIDattr() get a specific attribute of a syntax ID
931 synIDtrans() get translated syntax ID 933 synIDtrans() get translated syntax ID
932 synstack() get list of syntax IDs at a specific position 934 synstack() get list of syntax IDs at a specific position