-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
Description
There are a few grammars that I can't update because we fail to detect any scopes:
vendor/grammars/NSIS
vendor/grammars/sourcepawn
vendor/grammars/awk-sublime
To be honest I've not had a chance to figure out what's going on here but we get errors like this when running the tests (with the updated grammars):
3) Failure:
TestGrammars#test_local_scopes_are_in_sync [/Users/arfon/github/linguist/test/test_grammars.rb:70]:
The scopes listed for vendor/grammars/awk-sublime in grammars.yml don't match the scopes found in that repository.
Expected: ["source.awk"]
Actual: nil
This isn't a huge issue right now, except that we can't update grammars that throw errors like this. It's also a pain when trying to run git submodule update --remote as part of the release process for Linguist.
If anyone fancies trying to debug this then please be my guest. Otherwise I'll try and get to this at some point.