[quote="de.monkeyz"]@vvo - I got it working with tabs, all I did was change the options to these:
opts.indent_char = "\t"
opts.indent_size = 1
And it works perfectly.
I also added this code to make sure it only works in js files:
if not self.view.scope_name(0).startswith('source.js'):
If you're using a build below 2099. Change startswith to endswith.[/quote]
Thanks for responding to the indent question, I kind of forgot to keep checking back in here.
I may pull something like your scope_name solution in to the plugin, Ill have to play around with it.
Good suggestion, ill add it in the next day or so.
UPDATE: plugin updated, shows up in command palette now