mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
main: Correct typos
This commit is contained in:
parent
e48af35753
commit
a65a07fae4
@ -888,7 +888,7 @@ _zsh_highlight_main_highlighter_highlight_single_quote()
|
|||||||
else
|
else
|
||||||
style=single-quoted-argument-unclosed
|
style=single-quoted-argument-unclosed
|
||||||
fi
|
fi
|
||||||
reply+=($(( start_pos + arg1 - 1 )) $(( start_pos + i )) $style $reply)
|
reply=($(( start_pos + arg1 - 1 )) $(( start_pos + i )) $style $reply)
|
||||||
REPLY=$i
|
REPLY=$i
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1005,7 +1005,7 @@ _zsh_highlight_main_highlighter_highlight_dollar_quote()
|
|||||||
else
|
else
|
||||||
style=dollar-quoted-argument-unclosed
|
style=dollar-quoted-argument-unclosed
|
||||||
fi
|
fi
|
||||||
reply+=($(( start_pos + $1 - 1 )) $(( start_pos + i )) $style $reply)
|
reply=($(( start_pos + $1 - 1 )) $(( start_pos + i )) $style $reply)
|
||||||
REPLY=$i
|
REPLY=$i
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user