3547f9e368
Diagnostic detail lines sometimes contain lines which include commands suggested for the user to execute. By convention, these start with leading whitespace to indicate that they are not prose. This commit changes the diagnostic formatter to wrap each line of the detail separately, and skips word wrapping for lines prefixed with space. This prevents ugly and confusing wrapping of long command lines. |
||
---|---|---|
.. | ||
diagnostic.go | ||
diagnostic_test.go | ||
diff.go | ||
diff_test.go | ||
format.go | ||
object_id.go | ||
object_id_test.go | ||
state.go | ||
state_test.go |