Extremely simple package


#1

Hi all, total newbie to atom packages. I have read the docs, but it’s all a bit deep for my needs.

I’ve already generated my dummy package using the package generator.

I just want to do the equivalent of inserting the following into the config.cson file:

"*":
  core:
    customFileTypes:
      'text.xml': [
        'cfg'
      ]

Can somebody give me a boost?


#2

You can set config settings via the API. You want to put the setting function in the constructor method, and then unset the config in the deactivation code.