davidrios / pug-tmbundle

A comprehensive textmate / sublime text bundle for the Pug (formerly Jade) template language.
https://github.com/davidrios/pug-tmbundle
MIT License
48 stars 20 forks source link

Why does Sublime Text snippet work only at the last row? #19

Closed serjyamp closed 1 year ago

serjyamp commented 6 years ago

I'm trying to create my own snippet for Sublime Text 3. Here it is:

<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>

but it works only at the last row of document. what's wrong?

image

CydGoblin commented 5 years ago

+1

davidrios commented 1 year ago

Please comment if you think this is still relevant.