Hi all,
I’m curious if anyone know if there’s a way to insert a snippet that contains multiple newlines while being able to remove the auto indenting from new lines (but still indenting tabs to the correct level)?
I’ll give an example. I have a javascript snippet that inserts the following code:
[code]${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}: function(${1:args}) {
var instance = this;
$0
}${2:,}[/code]
var instance = this; and $0 should both be indented to the correct level, but what happens for me is that the empty line gets tab characters in it that I have to manually remove.
Is there a way to disable this?
Thanks in advance,