I've already set the indentation in User settings
to 2 spaces and it even works when I press the tab, but whenever I save the file it automatically changes the entire indentation to 4 spaces. I took a look at all preferences and found nothing about a self-indentation or anything like that.