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:
Daniel Shahaf
2015-09-25 21:36:20 +00:00
parent 0788514cbd
commit 6732783d46
3 changed files with 41 additions and 1 deletions

View File

@@ -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'