@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.
- package/CHANGELOG.md +76 -0
- package/package.json +1 -1
- package/plugins/audit_mode.i18n.json +497 -119
- package/plugins/audit_mode.ts +2568 -551
- package/plugins/config-schema.json +7 -1
- package/plugins/git_blame.ts +1 -6
- package/plugins/git_log.ts +616 -1025
- package/plugins/lib/fresh.d.ts +76 -4
- package/plugins/lib/git_history.ts +596 -0
- package/plugins/markdown_compose.ts +183 -7
- package/plugins/search_replace.i18n.json +42 -14
- package/plugins/search_replace.ts +146 -96
- package/plugins/vi_mode.ts +8 -3
|
@@ -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
|
},
|
package/plugins/git_blame.ts
CHANGED
|
@@ -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
|
|
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
|