If you change the formatter for your project then yes, you have a single commit where you reformat your project and then commit this.
A single commit after a tool change. I don't see the problem.