main: Test suffix aliases if zsh/parameter is available
This commit is contained in:
parent
fdca2ef714
commit
622358f32d
@ -43,7 +43,7 @@ BUFFER='x.alias2; alias1'
|
|||||||
# functionality is present, and skip verifying suffix-alias highlighting
|
# functionality is present, and skip verifying suffix-alias highlighting
|
||||||
# if it isn't.
|
# if it isn't.
|
||||||
expected_region_highlight=()
|
expected_region_highlight=()
|
||||||
if [[ "$(type -w x.alias2)" == *suffix* ]]; then
|
if zmodload -e zsh/parameter || [[ "$(type -w x.alias2)" == *suffix* ]]; then
|
||||||
expected_region_highlight+=(
|
expected_region_highlight+=(
|
||||||
"1 8 suffix-alias" # x.alias2
|
"1 8 suffix-alias" # x.alias2
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user