jtokoph / auto-detect-indentation

Auto detect indentation of files in Atom
MIT License
39 stars 6 forks source link

Crazy indents of .less files #5

Closed brianmhunt closed 8 years ago

brianmhunt commented 9 years ago

See discussion here https://discuss.atom.io/t/indentation-of-less-files-is-crazy/13485

The full .less file is quite lengthy, but I suspect that the auto-indent is being determined by the indent of a few comments e.g.

/*
 *            (1.) Our classes here ...
 */ 

I know that's not too much to go on, but I hope it gives a enough insight, and in any case it's just a heads up. :) Cheers

jtokoph commented 8 years ago

Can you update to version 0.5.0 and see if you still have this issue? I think I found a solution to re-checking after tokenization

brianmhunt commented 8 years ago

@jtokoph It's not exhibiting for me right now – it's probably because you've fixed the issue, but it may also be because I can't remember exactly how to replicate it. ;)

In any case, I'll close this; if anyone else encounters the issue I'm sure they can follow the thread and re-open or start a new issue!

Thanks!