关闭Sublime Text 3.2中的git集成 [英] Switch off git integration in Sublime Text 3.2
问题描述
如果我想关闭Sublime文本左侧装订线中的GIT集成(又称粘液绿线),我只需要将其切换为false:
If I want to switch off the GIT integration (aka the slime green line) on the left hand gutter in Sublime text, I just need to switch it to false:
26 "show_git_status": false
但是,在首选项"中进行设置时,出现错误消息:
However, when setting that in the Preferences, I get the error:
尝试解析设置时出错:Packages \ User \ Preferences中出现意外字符,预期逗号或右括号.sublime-settings:26:2
很明显,我是一个逗号或短括号,但是我不知道它应该在哪里或应该采用什么格式.谁能启发我?
Clearly I'm a comma or bracket(s) short, but I don't know where or what format it should be. Can anyone enlighten me?
推荐答案
问题是您在第26行缺少逗号,应该是:
The problem is that you are missing a comma there in line 26, it should be:
"show_git_status": false,
每个选项之后必须有一个逗号,表示还有更多的配置参数,或者用一个右括号}
.
After each option there must be either a comma, indicating that there are more config parameters remaining, or a closing bracket }
.
这篇关于关闭Sublime Text 3.2中的git集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!