Change how diagnostics are formatted.