Sublime Forum

Expand on multi lines?

#1

In HTML.sublime-completions I wanna tweak div( { “trigger”: “div”, “contents”: “

$1
” } ) completion to do this:
<div>
$1
</div>

instead of this

<div>$1</div>

How is that possible?

0 Likes

#2

Probably like so:

{ "trigger": "div", "contents": "<div>\n$1\n</div>" } )
0 Likes