I'm using Doom Emacs (pretty much vanilla with a few packages) and whenever I save a file, Emacs automatically changes the indentation.
For example, if I'm editing a C++ file like this:
application icoFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 20;
deltaT 0.05;
writeControl runTime;
Whenever I save it, Doom Emacs changes the format like this:
application icoFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 20;
deltaT 0.05;
writeControl runTime;
I tried disabling `electric-indent-mode`, but it did not work.
Anydoby knows how can I modify this behaviour? I just want to mantain the original format when saving a file.
Thanks in advance!