The tm4e language pack plugin registers all languages with a langpck. scope name prefix. If a grammar references, for example, scope.python, the grammar registered by the language pack will not be found, resulting in WARNING: CANNOT find grammar for scopeName [source.python]. With this commit the language will automatically be looked up via langpck.source.python as a fallback.
The tm4e language pack plugin registers all languages with a
langpck.
scope name prefix. If a grammar references, for example,scope.python
, the grammar registered by the language pack will not be found, resulting inWARNING: CANNOT find grammar for scopeName [source.python]
. With this commit the language will automatically be looked up vialangpck.source.python
as a fallback.