@fresh-editor/fresh-editor 0.2.23 → 0.2.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,7 +122,8 @@
122
122
  "show_hidden": false,
123
123
  "show_gitignored": false,
124
124
  "custom_ignore_patterns": [],
125
- "width": 0.30000001192092896
125
+ "width": 0.30000001192092896,
126
+ "preview_tabs": true
126
127
  }
127
128
  },
128
129
  "file_browser": {
@@ -877,6 +878,11 @@
877
878
  "type": "number",
878
879
  "format": "float",
879
880
  "default": 0.30000001192092896
881
+ },
882
+ "preview_tabs": {
883
+ "description": "Open files in a \"preview\" (ephemeral) tab on single-click in the\nfile explorer. The preview tab is replaced by the next single-click\ninstead of accumulating tabs. Editing the file, double-clicking\n(or pressing Enter) on it in the explorer, or dragging its tab\npromotes the tab to a permanent tab.\nDefault: true",
884
+ "type": "boolean",
885
+ "default": true
880
886
  }
881
887
  }
882
888
  },
@@ -381,12 +381,7 @@ function addBlameHeaders(): void {
381
381
  blameState.bufferId,
382
382
  block.startByte, // anchor position
383
383
  headerText, // text content
384
- colors.headerFg[0], // fg_r
385
- colors.headerFg[1], // fg_g
386
- colors.headerFg[2], // fg_b
387
- colors.headerBg[0], // bg_r
388
- colors.headerBg[1], // bg_g
389
- colors.headerBg[2], // bg_b
384
+ { fg: colors.headerFg, bg: colors.headerBg }, // colors (RGB tuples; passing theme key strings would also work)
390
385
  true, // above (LineAbove)
391
386
  BLAME_NAMESPACE, // namespace for bulk removal
392
387
  0 // priority