소스 검색

driver: Replace eval with ${(P)

pull/492/head
Matthew Martin 6 년 전
부모
커밋
84f0507cf6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      zsh-syntax-highlighting.zsh

+ 2
- 2
zsh-syntax-highlighting.zsh 파일 보기

@ -141,7 +141,7 @@ _zsh_highlight()
{
"_zsh_highlight_highlighter_${highlighter}_paint"
} always {
eval "${cache_place}=(\"\${region_highlight[@]}\")"
: ${(AP)cache_place::="${region_highlight[@]}"}
}
# Restore saved region_highlight
@ -150,7 +150,7 @@ _zsh_highlight()
fi
# Use value form cache if any cached
eval "region_highlight+=(\"\${${cache_place}[@]}\")"
region_highlight+=("${(@P)cache_place}")
done

불러오는 중...
취소
저장