diff --git a/syntax/LaTeX.plist b/syntax/LaTeX.plist
index 0295c8d5c..2fdb9f0c2 100644
--- a/syntax/LaTeX.plist
+++ b/syntax/LaTeX.plist
@@ -785,6 +785,10 @@
name
keyword.control.equation.newline.latex
+
+ include
+ #definition-label
+
include
text.tex#math
@@ -1491,47 +1495,8 @@ Put specific matches for particular LaTeX keyword.functions before the last two
- begin
- ((\\)label)(\{)
- beginCaptures
-
- 1
-
- name
- keyword.control.label.latex
-
- 2
-
- name
- punctuation.definition.keyword.latex
-
- 3
-
- name
- punctuation.definition.arguments.begin.latex
-
-
- end
- \}
- endCaptures
-
- 0
-
- name
- punctuation.definition.arguments.end.latex
-
-
- name
- meta.definition.label.latex
- patterns
-
-
- match
- [a-zA-Z0-9\.,:/*!^_-]
- name
- variable.parameter.definition.label.latex
-
-
+ include
+ #definition-label
begin
@@ -1836,6 +1801,50 @@ Put specific matches for particular LaTeX keyword.functions before the last two
+ definition-label
+
+ begin
+ ((\\)label)(\{)
+ beginCaptures
+
+ 1
+
+ name
+ keyword.control.label.latex
+
+ 2
+
+ name
+ punctuation.definition.keyword.latex
+
+ 3
+
+ name
+ punctuation.definition.arguments.begin.latex
+
+
+ end
+ \}
+ endCaptures
+
+ 0
+
+ name
+ punctuation.definition.arguments.end.latex
+
+
+ name
+ meta.definition.label.latex
+ patterns
+
+
+ match
+ [a-zA-Z0-9\.,:/*!^_-]
+ name
+ variable.parameter.definition.label.latex
+
+
+
scopeName
text.tex.latex