This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Description
I work on some projects with a tabLength of 4 but when I install snippet packages like atom-jasmine it indents the snippets wrong.
In one of my own snippets I found a workaround by using \n\n to reset, but then it obviously leaves a blank line. It's also harder to read than if I used a multiline string.
"invariant":
prefix: "invariant"
body: "if (process.env.NODE_ENV !== 'production') {\n\tinvariant(${1}, '${2}');\n\n} else {\n\tinvariant(${1});\n}"
Result:
if (process.env.NODE_ENV !== 'production') {
invariant(, '');
} else {
invariant();
}