소스 검색

Fix highlighting on new line with same buffer

pull/41/head
Mounier Florian 13 년 전
부모
커밋
f78e444451
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      zsh-syntax-highlighting.zsh

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

@ -101,7 +101,7 @@ _zsh_highlight-string() {
# Recolorize the current ZLE buffer.
_zsh_highlight-zle-buffer() {
# Avoid doing the same work over and over
[[ ${ZSH_PRIOR_HIGHLIGHTED_BUFFER:-} == $BUFFER ]] && return
[[ ${ZSH_PRIOR_HIGHLIGHTED_BUFFER:-} == $BUFFER ]] && [[ ${#region_highlight} -gt 0 ]] && return
ZSH_PRIOR_HIGHLIGHTED_BUFFER=$BUFFER
setopt localoptions extendedglob bareglobqual

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