<commit_before>scopeName: 'source.unison'
name: 'Unison'
fileTypes: ['u','uu']
limitLineLength: false
patterns: [
  { include: '#comment' }
  { include: '#boolean' }
  { include: '#numeric' }
  { include: '#text'}
  { include: '#case_of' }
  { include: '#if' }
  { include: '#annotation'}
  { include: '#type_operators' }
  { include: '#unsorted_reserved_chars' }
  { include: '#unsorted_keywords' }
]
repository:
  unsorted_reserved_chars:
    match: '(,)|(`)|(\\[)|(\\])|({)|(})|(@)|(\\|)'
    captures:
      1: {name: 'punctuation.separator.delimiter.unison'}
      2: {name: 'punctuation.definition.entity.unison'}
      3: {name: 'punctuation.definition.list.begin.unison'}
      4: {name: 'punctuation.definition.list.end.unison'}
      5: {name: 'punctuation.definition.ability.begin.unison'}
      6: {name: 'punctuation.definition.ability.end.unison'}
      7: {name: 'punctuation.operator.assignment.as.unison'}
      8: {name: 'punctuation.separator.pipe.unison'}
  if:
    match: '(\\s|^)(if|then|else|and|or)(?=\\s|^)'
    captures: {2: {name: 'keyword.control.unison'}}
  annotation:
    name: 'meta.function.type-declaration.unison'
    match: '(\\S+)\\s*(:)(?=\\s)'
    captures:
      1: {name: 'entity.name.function.unison' }
      2: {name: 'keyword.other.colon.unison' }
  type_operators:<commit_msg>Escape annotation highlighting when enclosed with quotation marks<commit_after>scopeName: 'source.unison'
name: 'Unison'
fileTypes: ['u','uu']
limitLineLength: false
patterns: [
  { include: '#comment' }
  { include: '#boolean' }
  { include: '#numeric' }
  { include: '#text'}
  { include: '#case_of' }
  { include: '#if' }
  { include: '#annotation'}
  { include: '#type_operators' }
  { include: '#unsorted_reserved_chars' }
  { include: '#unsorted_keywords' }
]
repository:
  unsorted_reserved_chars:
    match: '(,)|(`)|(\\[)|(\\])|({)|(})|(@)|(\\|)'
    captures:
      1: {name: 'punctuation.separator.delimiter.unison'}
      2: {name: 'punctuation.definition.entity.unison'}
      3: {name: 'punctuation.definition.list.begin.unison'}
      4: {name: 'punctuation.definition.list.end.unison'}
      5: {name: 'punctuation.definition.ability.begin.unison'}
      6: {name: 'punctuation.definition.ability.end.unison'}
      7: {name: 'punctuation.operator.assignment.as.unison'}
      8: {name: 'punctuation.separator.pipe.unison'}
  if:
    match: '(\\s|^)(if|then|else|and|or)(?=\\s|^)'
    captures: {2: {name: 'keyword.control.unison'}}
  annotation:
    name: 'meta.function.type-declaration.unison'
    match: '([^\\r\\n\\t\\f\\v \"]+)\\s*(:)(?=\\s)'
    captures:
      1: {name: 'entity.name.function.unison' }
      2: {name: 'keyword.other.colon.unison' }
  type_operators:
{'fraction_non_alphanumeric': 0.21497050147492625, 'fraction_numerical': 0.008112094395280236, 'mean_word_length': 3.8102836879432624, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '933165', 'n_tokens_mistral': 1028, 'n_tokens_neox': 1003, 'n_words': 161}