name: BibTeX fileTypes:

scopeName: text.bibtex repository:

nested_braces: 
  endCaptures: 
    "0": 
      name: punctuation.definition.group.end.bibtex
  begin: \{
  beginCaptures: 
    "0": 
      name: punctuation.definition.group.begin.bibtex
  end: \}
  patterns: 
  - include: "#nested_braces"
integer: 
  name: constant.numeric.bibtex
  match: \d+
string_content: 
  patterns: 
  - name: string.quoted.double.bibtex
    endCaptures: 
      "0": 
        name: punctuation.definition.string.end.bibtex
    begin: "\""
    beginCaptures: 
      "0": 
        name: punctuation.definition.string.begin.bibtex
    end: "\""
    patterns: 
    - include: "#nested_braces"
  - name: string.quoted.other.braces.bibtex
    endCaptures: 
      "0": 
        name: punctuation.definition.string.end.bibtex
    begin: \{
    beginCaptures: 
      "0": 
        name: punctuation.definition.string.begin.bibtex
    end: \}
    patterns: 
    - name: invalid.illegal.at-sign.bibtex
      match: "@"
    - include: "#nested_braces"

uuid: 47F30BA1-6B1D-11D9-9A60-000D93589AF6 foldingStartMarker: [a-zA-Z]+s*.+, patterns:

foldingStopMarker: ^s*s*$ comment: “Grammar based on description from artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html#commentn\

\t\n\
\tTODO: Does not support @preamble\n\
\t"