Move git gutter settings out of editor settings

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
Julia
2022-10-03 14:53:33 -04:00
co-authored by Mikayla Maki
parent 8f4b3c3493
commit a5c2f22bf7
5 changed files with 38 additions and 29 deletions
+13 -11
View File
@@ -75,17 +75,19 @@
// How many columns a tab should occupy.
"tab_size": 4,
// Git gutter behavior configuration.
"git_gutter": {
// Which files to show the git gutter on. This setting can take
// three values:
// 1. All files, files not tracked in git will be diffed against
// their contents when the file was last opened in Zed:
// "files_included": "all",
// 2. Only show for files tracked in git:
// "files_included": "only_tracked",
// 3. Disable git gutters entirely:
// "files_included": "none",
"files_included": "all"
"git": {
"git_gutter": {
// Which files to show the git gutter on. This setting can take
// three values:
// 1. All files, files not tracked in git will be diffed against
// their contents when the file was last opened in Zed:
// "files_included": "all",
// 2. Only show for files tracked in git:
// "files_included": "only_tracked",
// 3. Disable git gutters entirely:
// "files_included": "none",
"files_included": "all"
}
},
// Settings specific to the terminal
"terminal": {