Indentation issue using sublime text 2

Viewed 14779

I have the following problem.

I use ubuntu 12.04 and sublime-text-2 or gedit.

Sometimes i copy/paste something in a haml/ruby file, i indent it at 2 spaces, but when i push it up to github, the indentation is all wrong and not only the part I've copy/pasted. In my editor looks good.

If I open the file with LibreOffice/LeafPad the identation is like on github, but i wanna have it working on ST2.

Any suggestions?

1 Answers
Related