mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
main: Refresh highlighting upon accept-* widgets (accept-line et al).
Use this to remove [path_prefix] highlighting during accept-* widgets. This causes ": file.tx<CR>" to remove the underline from "file.tx", like ": file.tx<SPACE>" already does. (Assume 'file.txt' exists.)
This commit is contained in:
parent
7723edf4f5
commit
59fbdda64c
2 changed files with 6 additions and 3 deletions
|
|
@ -35,5 +35,5 @@ BUFFER='ls /bin/s'
|
|||
WIDGET=accept-line
|
||||
|
||||
expected_region_highlight=(
|
||||
"4 9 $ZSH_HIGHLIGHT_STYLES[default] 'implemented by next commit'" # /bin/s
|
||||
"4 9 $ZSH_HIGHLIGHT_STYLES[default]" # /bin/s
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue