diff options
author | Oliver Kiddle <opk@zsh.org> | 2024-02-15 14:50:56 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2024-02-15 14:50:59 +0100 |
commit | 173c0b14ab9ad1f54e74a2573d8212a720df1762 (patch) | |
tree | 152fef7a325a7dbd57d5fdda5765a444a9743cd5 /Doc/Zsh/zle.yo | |
parent | 14c230dc3216b7fe0f63d797347e14178d4ede2b (diff) | |
download | zsh-173c0b14ab9ad1f54e74a2573d8212a720df1762.tar.gz zsh-173c0b14ab9ad1f54e74a2573d8212a720df1762.tar.xz zsh-173c0b14ab9ad1f54e74a2573d8212a720df1762.zip |
52535: documentation for highlight groups and layers
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r-- | Doc/Zsh/zle.yo | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo index 495bd86a8..31eb3f3ba 100644 --- a/Doc/Zsh/zle.yo +++ b/Doc/Zsh/zle.yo @@ -2807,6 +2807,17 @@ item(tt(italic))( The characters in the given context are shown in a italic font. Not all terminals support italic fonts. ) +item(tt(hl=)var(group))( +Use the specified highlighting group. The var(group) is used as a key into +the associative array tt(.zle.hlgroups) to determine the actual highlighting. +) +item(tt(layer=)var(layer))( +The layer is used to determine precedence when multiple highlighting regions +overlap. The var(layer) is a decimal integer, with higher numbers taking +precedence over lower numbers. The default layer is 10 with 30 used as the +default for tt(special), 20 for tt(region) and tt(isearch) and 15 for +tt(paste). +) enditem() The characters described above as `special' are as follows. The |