Conditional snippet


Is there a way to choose between bodies of a syntax in a snippet?. I want to develop a package for ruby and depending of a configuration choose between

  • :key => 'value'
  • key: 'value


No, there is currently no mechanism for doing this in the default Atom snippets package.


Is something like this on the roadmap? It’d be a really nice feature to have when creating snippet libraries