Skip to content

Commit

Permalink
[LaTeX] Remove macro-braces
Browse files Browse the repository at this point in the history
The same context with identical content is already defined in TeX.
  • Loading branch information
deathaxe committed Nov 13, 2022
1 parent ccc0ab8 commit 9c49c16
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions LaTeX/LaTeX.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,6 @@ contexts:
- include: general-optional-arguments
- include: else-pop

# used in macros to prevent matching of \begin{env}...\end{env}
macro-braces:
- match: \{
scope: punctuation.definition.group.brace.begin.latex
push:
- meta_scope: meta.group.brace.latex
- match: \}
scope: punctuation.definition.group.brace.end.latex
pop: true
- include: general-constants
- include: general-commands
- include: macro-braces

macros:
- meta_append: true
- match: (\\)(?:new|renew|provide)command(?:\*|(?![A-Za-z@]))
Expand Down

0 comments on commit 9c49c16

Please sign in to comment.