【发布时间】:2014-08-26 15:25:43
【问题描述】:
我正在尝试覆盖 Atom 中的默认 sn-ps,因为我想从
更改默认脚本 sn-p<script charset="utf-8"></script>
到
<script src=""></script>
我已将以下内容放入 sn-ps.cson。
'.text.html':
'Comment':
'prefix': 'com'
'body': '<!-- $1-->'
'Script':
'prefix': 'script'
'body': '<script src="$1"></script>'
我的 'com' sn-p 工作正常。但是脚本会生成默认的 sn-p,而不是我的新的。
【问题讨论】: