Closed vladimir-tikhonov closed 8 years ago
:+1: thanks for your awesome work, @wende!
There is new issue, howewer, as you see screnshot below.
New regex captures unnesesary whitespace symbols around the keywords (something like do\n
) and many conditions below (for example here) stop working.
Yes. I made mistake by commiting without checking.
The problem right now is, that if it matches \n
then it extends range by one row. But if it's any other character it extends by column.
I've got to think of something clever to fix that
I didn't realize that such thing as word boundary (\b
) exists in regex. Well what do you know! :grinning:
v1.5.12 should fix that.
Merry Christmass :gift:
@wende thanks, and you too :smile:
As you can see below, currently package highlight
do
/end
pairs even if they are part of another word. I think it would be better to ensure thatdo
andend
keywords is surrounded by whitespaces before highlighting them.