Skip to content

Commit

Permalink
fix: zsh-syntax-highlighting was broken (#228)
Browse files Browse the repository at this point in the history
This issue was caused by a bug which didn't invoke original function
after hooking the function. This bug also caused issues mentioned in
the #154 as well.
  • Loading branch information
jeffreytse committed Jul 9, 2023
1 parent 6f14b2f commit db7b7d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zsh-vi-mode.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ function zvm_widget_wrapper() {
local rawfunc=$1;
local func=$2;
local -i retval
$rawfunc "${@:3}"
$func "${@:3}"
return retval
}
Expand Down

0 comments on commit db7b7d4

Please sign in to comment.