Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #287 from ckipp01/doctorFix
Browse files Browse the repository at this point in the history
Account for new lines in doctor header.
  • Loading branch information
ckipp01 authored Sep 8, 2020
2 parents 0b3c2bf + 809b647 commit 9af3b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/embeddedDoctor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function makeVimDoctor(doctorResult: DoctorResult): void {
const doctor: string[] = [
doctorResult.title,
"-------------",
doctorResult.headerText,
...doctorResult.headerText.split("\n"),
"",
Object.keys(doctorResult.targets[0])
.map((heading: string, index: number) => padText(heading, index))
Expand Down

0 comments on commit 9af3b28

Please sign in to comment.