Browse Source

Fixes hover command spacing

main
Eric Amodio 2 years ago
parent
commit
d58eb4bbda
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/git/formatters/commitFormatter.ts

+ 3
- 3
src/git/formatters/commitFormatter.ts View File

@ -386,7 +386,7 @@ export class CommitFormatter extends Formatter {
line: this._options.editor?.line,
})} "Open Changes with Previous Revision")`;
commands += `   [$(versions)](${OpenFileAtRevisionCommand.getMarkdownCommandArgs(
commands += `  [$(versions)](${OpenFileAtRevisionCommand.getMarkdownCommandArgs(
Container.instance.git.getRevisionUri(diffUris.previous),
FileAnnotationType.Blame,
this._options.editor?.line,
@ -424,7 +424,7 @@ export class CommitFormatter extends Formatter {
this._item.file.originalPath ?? this._item.file?.path,
this._item.repoPath,
);
commands += `   [$(versions)](${OpenFileAtRevisionCommand.getMarkdownCommandArgs(
commands += `  [$(versions)](${OpenFileAtRevisionCommand.getMarkdownCommandArgs(
uri,
FileAnnotationType.Blame,
this._options.editor?.line,
@ -450,7 +450,7 @@ export class CommitFormatter extends Formatter {
if (this._options.remotes != null && this._options.remotes.length !== 0) {
const providers = GitRemote.getHighlanderProviders(this._options.remotes);
commands += `   [$(globe)](${OpenCommitOnRemoteCommand.getMarkdownCommandArgs(
commands += `  [$(globe)](${OpenCommitOnRemoteCommand.getMarkdownCommandArgs(
this._item.sha,
)} "Open Commit on ${providers?.length ? providers[0].name : 'Remote'}")`;
}

Loading…
Cancel
Save