mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
back-dollar-quoted-argument: Correct an off-by-one.
Highlight the last character of a «\xHH» escape when it is the last thing in
LBUFFER. This is similar to what b0cc02ed86 did
for issue #186.
This commit is contained in:
parent
0788514cbd
commit
6732783d46
3 changed files with 41 additions and 1 deletions
|
|
@ -28,6 +28,7 @@
|
|||
# vim: ft=zsh sw=2 ts=2 et
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
# Similar to dollar-quoted3.zsh
|
||||
# This test checks that the 'r' gets highlighted correctly. Do not append to the BUFFER.
|
||||
BUFFER=': "foo$bar'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue