Skip to content

Commit

Permalink
[LaTeX] Rename mapping separator scopes (#3275)
Browse files Browse the repository at this point in the history
Applies #3228
  • Loading branch information
deathaxe authored Apr 11, 2022
1 parent efc83b6 commit cba430b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions LaTeX/Bibtex.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ contexts:
- include: string_content
- include: integer
- match: \,
scope: punctuation.separator.mapping.pair.bibtex
scope: punctuation.separator.sequence.bibtex
- match: '((@)[a-zA-Z]+)\s*(\()\s*([^\s,]*)'
captures:
1: keyword.other.entry-type.bibtex
Expand All @@ -104,7 +104,7 @@ contexts:
- include: string_content
- include: integer
- match: \,
scope: punctuation.separator.mapping.pair.bibtex
scope: punctuation.separator.sequence.bibtex
- match: '[^@\n]'
push:
- meta_scope: comment.block.bibtex
Expand Down
2 changes: 1 addition & 1 deletion LaTeX/syntax_test_bibtex.bib
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ @book{knuth97
% ^^^^^^^^^^^^^^^^^ meta.mapping.value.bibtex string.quoted.other.braces.bibtex
% ^ punctuation.definition.string.begin.bibtex
% ^ punctuation.definition.string.end.bibtex
% ^ punctuation.separator.mapping.pair.bibtex
% ^ punctuation.separator.sequence.bibtex
title = {The Art of Computer Programming, Vol. 1: Fundamental Algorithms},
edition = {3},
publisher = {Addison-Wesley},
Expand Down

0 comments on commit cba430b

Please sign in to comment.