有没有办法阻止Sublime Text的Git插件搞乱状态栏?

Nic*_*k F 7 git plugins sublimetext sublimetext3

我正在使用Sublime Text Git插件(使用ST3),但我不需要或想要它添加到状态栏的内容(在UI的底部).我似乎无法拒绝.在Git.sublime的设置我已经设置都statusbar_branchstatusbar_status假,已经去掉了一些但不是所有的插件的状态栏的输出.我仍然得到"比较:HEAD".有没有办法禁用它?

Léo*_*Lam 9

状态栏中的"与HEAD比较"消息实际上不是由Git插件生成的,而是由GitGutter生成的.

  // Determines whether GitGutter will show informations in the status bar
  // Set "none" to hide these informations
  // Set "default" to show in the status bar what you are comparing
  // against, how many lines have been inserted or modified and how many regions
  // have been deleted.
  // Set "all" to also show on what branch you are
  "show_status": "default",
Run Code Online (Sandbox Code Playgroud)

默认配置是在状态栏中显示GitGutter的信息.

如果要禁用它,只需设置show_statusnone,如注释所示.