Skip to content

Commit 4f0098e

Browse files
committed
Consume escaped punctuation in strings in logfile syntax
1 parent ffbff5c commit 4f0098e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

LaTeXTools Log.sublime-syntax

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,12 +411,14 @@ contexts:
411411
- match: '>>'
412412
scope: punctuation.definition.string.end.log
413413
pop: 1
414+
- match: \\[<>]
414415

415416
single-angled-string-body:
416417
- meta_scope: string.quoted.other.log
417418
- match: '>'
418419
scope: punctuation.definition.string.end.log
419420
pop: 1
421+
- match: \\[<>]
420422

421423
double-quoted-string-body:
422424
- meta_scope: string.quoted.double.log
@@ -426,6 +428,7 @@ contexts:
426428
- match: \.$
427429
scope: punctuation.definition.string.end.log
428430
pop: 1
431+
- match: \\\'
429432

430433
single-quoted-string-body:
431434
- meta_scope: string.quoted.single.log
@@ -435,6 +438,7 @@ contexts:
435438
- match: \.$
436439
scope: punctuation.definition.string.end.log
437440
pop: 1
441+
- match: \\\'
438442

439443
###[ PROTOTYPES ]###############################################################
440444

0 commit comments

Comments
 (0)