<commit_before>BibtexProvider = require "./provider"

module.exports =
  config:
    bibtex:
      type: 'string'
      default: ''
    scope:
      type: 'string'
      default: '.source.gfm'
    resultTemplate:
      type: 'string'
      default: '@[key]'

  activate: ->
    @provider = new BibtexProvider()

  deactivate: ->
    @provider.registration.dispose()

  provide: ->
    return { providers: [@provider] }<commit_msg>Update configuration schema to reflect that we expect an array of BibTeX file names.<commit_after>BibtexProvider = require "./provider"

module.exports =
  config:
    bibtex:
      type: 'array'
      default: []
      items:
        type: 'string'
    scope:
      type: 'string'
      default: '.source.gfm'
    resultTemplate:
      type: 'string'
      default: '@[key]'

  activate: ->
    @provider = new BibtexProvider()

  deactivate: ->
    @provider.registration.dispose()

  provide: ->
    return { providers: [@provider] }
{'fraction_non_alphanumeric': 0.13146997929606624, 'fraction_numerical': 0.0, 'mean_word_length': 2.5814814814814815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7271046', 'n_tokens_mistral': 306, 'n_tokens_neox': 285, 'n_words': 74}