Setting grammar for new file extensions in the package


I have a package, and I want to set some existing grammars to a few file extensions (package for working with salesforce).
I tried to add a /settings/config.cson file with content below

      "text.xml": [

but this isn’t work. Also, I tried advices from the discussion, but i can’t add these configs properly to the package. Please, help me with this little problem. Thanks!


I found solution - including other grammar:
for example

file grammar/lightning.cson:

'scopeName': 'lightning.text.xml.basic'
'fileTypes': [
'patterns': [
  { "include" : "text.xml" }