-
Notifications
You must be signed in to change notification settings - Fork 367
/
Copy pathLaTeXTools Console.sublime-syntax
39 lines (38 loc) · 1.11 KB
/
LaTeXTools Console.sublime-syntax
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%YAML 1.2
---
# https://www.sublimetext.com/docs/syntax.html
name: LaTeXTools Console
scope: latextools.console
hidden: true
contexts:
main:
- match: No errors.
scope: latextools.console.heading.no.error
- match: (Errors:)$\n?
captures:
1: latextools.console.heading.error
push:
- match: (?=Warnings:|No warnings.|\[Done!\])
pop: true
- match: .+
scope: latextools.console.message.error markup.deleted
- match: No warnings.
scope: latextools.console.heading.no.warning
- match: (Warnings:)$\n?
captures:
1: latextools.console.heading.warning
push:
- match: ^(?=Bad Boxes:|No bad boxes.|\[Done!\])
pop: true
- match: .+
scope: latextools.console.message.warning markup.changed
- match: No bad boxes.
scope: latextools.console.heading.no.badbox
- match: (Bad Boxes:)$\n?
captures:
1: latextools.console.heading.badbox
push:
- match: ^(?=\[Done!\])
pop: true
- match: .+
scope: latextools.console.message.badbox constant.numeric