mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'main': Don't add multiple styles for a single parameter's expansion.
See https://github.com/zsh-users/zsh-syntax-highlighting/pull/684#issuecomment-589960462
This commit is contained in:
parent
fb074f1159
commit
8be98dc76c
1 changed files with 1 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ _zsh_highlight_main_add_region_highlight() {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
param_style=$1
|
param_style=$1
|
||||||
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# The calculation was relative to $buf but region_highlight is relative to $BUFFER.
|
# The calculation was relative to $buf but region_highlight is relative to $BUFFER.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue