diff options
author | Oliver Kiddle <opk@zsh.org> | 2024-01-28 00:47:10 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2024-01-28 00:47:36 +0100 |
commit | 85545af42b8f9278136125324c37c1f88b461421 (patch) | |
tree | d07e1f565c6bcb8fdac42cd0a595a9e481f2e57f /Src/Zle/zle.h | |
parent | 3c5dacd503a2ac81059346b37d16ab5d1b6a1e04 (diff) | |
download | zsh-85545af42b8f9278136125324c37c1f88b461421.tar.gz zsh-85545af42b8f9278136125324c37c1f88b461421.tar.xz zsh-85545af42b8f9278136125324c37c1f88b461421.zip |
52500: add layer token to zle attributes
This provide control over the precedence of highlighting where different regions overlap.
Diffstat (limited to 'Src/Zle/zle.h')
-rw-r--r-- | Src/Zle/zle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h index 1a3e4c241..010ead3d2 100644 --- a/Src/Zle/zle.h +++ b/Src/Zle/zle.h @@ -435,6 +435,8 @@ enum { struct region_highlight { /* Attributes turned on in the region */ zattr atr; + /* Priority for this region relative to others that overlap */ + int layer; /* Start of the region */ int start; /* Start of the region in metafied ZLE line */ |