apcshields / autocomplete-bibtex

Adds Pandoc-style BibTeX citation key autocompletion to autocomplete+ for Atom.
MIT License
44 stars 17 forks source link

Restart need after changing bibtex #56

Closed ihrke closed 6 years ago

ihrke commented 8 years ago

When adding/changing the bibtex-files in config.cson (bibtex-field), the changes are not immediately reflected but Atom must be restarted. In the console, we get

TypeError: path must be a string(…) provider.coffee:150

Checking that line, I find that upon saving config.cson, the variable bibtexFiles does not hold an array as expected but an Object that contains two arrays, one called oldValue one called newValue. This is the reason for the strange error. I think provider.coffee should handle this case by just extracting newValue from this object in this case.

mangecoeur commented 6 years ago

closing in favour of #57