I am trying to override default snippets in Atom, because I want to change the default script snippet from
<script charset="utf-8"></script>
to
<script src=""></script>
I have put the following into snippets.cson.
'.text.html':
'Comment':
'prefix': 'com'
'body': '<!-- $1-->'
'Script':
'prefix': 'script'
'body': '<script src="$1"></script>'
My 'com' snippet works fine. But script results in the default snippet, not my new one.
Apparently its a bug right now.
via https://github.com/atom/atom/issues/2695
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With