SublimeText / PackageDev

Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
MIT License
436 stars 83 forks source link

Context completions in multi-push statements #201

Closed deathaxe closed 5 years ago

deathaxe commented 5 years ago

Currently context auto-completion works only, if the list of contexts is surrounded by brackets.

  cmd-generic:
    - match: (?=\S)
      push: [cmd-generic-end, cmd-generic-name]

It would be useful to have auto-competions for contexts like cmd-generic-end in following list styles as well.

  cmd-generic:
    - match: (?=\S)
      push: 
        - cmd-generic-end
        - cmd-generic-name