浏览代码

Fixes hover command spacing

main
Eric Amodio 2 年前
父节点
当前提交
d58eb4bbda
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      src/git/formatters/commitFormatter.ts

+ 3
- 3
src/git/formatters/commitFormatter.ts 查看文件

@ -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'}")`;
}

正在加载...
取消
保存