Skip to content

2.0.0

Compare
Choose a tag to compare
@wooorm wooorm released this 26 Mar 17:15
· 61 commits to main since this release
d98b421

(P.S. If you’re interesting in testing out an MDX grammar, please see: https://github.com/wooorm/markdown-tm-language and share feedback!)

Breaking

  • 8513679 Fix handling of duplicate extensions
    Migrate: you might get different results from flagToScope. The new results match GitHub precisely, which is different in a few edge cases. For example, ```md maps to Lisp, not markdown (this one will be fixed in the next Linguist release!)

Add

  • 6d8244d Add support for file paths in flagToScope

Fix

  • b2482b9 Fix to load needed grammars, add missing deep grammars
    Migrate: if you manually choose which grammars to load, please see missingScopes(), you might be missing a grammar that’s needed

Misc

  • bdaa13f Update some counts in the readme
  • c54d505 Update example in readme
  • e72a129 Refactor some types
  • 4637e3e Add more tests for funky language names
  • f4ec5bd Add support for aliases when linguist renames scopes

Full Changelog: 1.7.0...2.0.0