我正在尝试为Sublime Text 3创建自己的代码段。这是:
<snippet>
<content><![CDATA[
// begin $1
.$1$2
// end $1
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>di</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.pug, text.pug</scope>
</snippet>
但它仅适用于文档的最后一行。什么错了?