Make both tabs and spaces modify the indentUnit option
Fixes after first review
Merge pull request #3209 from TomMalbran/tom/fix-issue-3100

Fix #3100: New lines always create white spaces