diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-09-07 15:50:26 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-09-11 21:49:39 +0000 |
commit | c76f4f96a65c7bfbba2183c422a1fb567069981f (patch) | |
tree | e8b1a1abdb5518fc52fc049ebc416df4b3cc2d08 /Src/Zle | |
parent | d37b59fe0969a619f049dee081b15af696070009 (diff) | |
download | zsh-c76f4f96a65c7bfbba2183c422a1fb567069981f.tar.gz zsh-c76f4f96a65c7bfbba2183c422a1fb567069981f.tar.xz zsh-c76f4f96a65c7bfbba2183c422a1fb567069981f.zip |
36443: Set zle_highlight=(paste:standout) by default.
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_refresh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index 0c28c0a2d..6facff429 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -372,7 +372,8 @@ zle_set_highlight(void) region_highlights[1].atr = TXTUNDERLINE; if (!suffix_atr_on_set) region_highlights[2].atr = TXTBOLDFACE; - /* paste defaults to 0 */ + if (!paste_atr_on_set) + region_highlights[3].atr = TXTSTANDOUT; allocate_colour_buffer(); } |