Improved indenting based on file type