Skip to content

Commit

Permalink
Revert to support.function scope (#3787)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngc92 authored Jun 11, 2023
1 parent a9932f8 commit 504a1a7
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 154 deletions.
4 changes: 2 additions & 2 deletions LaTeX/TeX.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,14 @@ contexts:

tex-constants:
- match: (\\){{constants}}{{endcs}}
scope: constant.language.tex
scope: support.function.tex
captures:
1: punctuation.definition.backslash.tex
push:
- tex-dimension-value
- tex-assignment
- match: (\\){{macroconst}}{{endcs}}
scope: constant.language.tex
scope: support.function.tex
captures:
1: punctuation.definition.backslash.tex

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions LaTeX/tests/syntax_test_latex.xparse.tex
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@
% ^^ variable.parameter.tex
% ^ punctuation.definition.placeholder.tex
% ^ meta.number.integer.decimal.tex constant.numeric.value.tex
% ^^^^^ constant.language.tex
% ^^^^^^^^ constant.language.tex
% ^^^^^ support.function.tex
% ^^^^^^^^ support.function.tex
% ^ punctuation.definition.backslash.tex
% ^ punctuation.definition.backslash.tex
% ^^^ meta.number.integer.decimal.tex
Expand Down
Loading

0 comments on commit 504a1a7

Please sign in to comment.