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:
Daniel Shahaf
2015-10-26 08:26:35 +00:00
parent 7723edf4f5
commit 59fbdda64c
2 changed files with 6 additions and 3 deletions

View File

@@ -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
)