indentation does not save in doc

How do I save my paragraph style, indentation, double space etc. so that the next time I open the doc, it is still there?
Right now it reverts to no indent when I close the doc.

Edit your question (don’t use an answer which is reserved for solutions) to tell in which format you save your doc: .txt?

Don’t forget to mention your OS and LO version