This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Support multiple snippet prefixes #107
Open
Description
Sometimes you may want to have multiple prefixes for expanding the same snippet – currently, if you want to do that, you have to copy-paste a snippet and rename the prefix, which is unnecessary duplication if you just want to have two prefixes for the same snippet.
For example:
'.text.html':
'Div':
'prefix': ['div', 'd']
'body': '<div class="$2">\n\t$3\n</div>'
Instead of:
'.text.html':
'Div':
'prefix': 'div'
'body': '<div class="$2">\n\t$3\n</div>'
'Div (short)':
'prefix': 'd'
'body': '<div class="$2">\n\t$3\n</div>'