@fresh-editor/fresh-editor 0.1.77 → 0.1.86
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 +59 -0
- package/package.json +1 -1
- package/plugins/audit_mode.ts +17 -17
- package/plugins/calculator.ts +1 -2
- package/plugins/clangd_support.ts +3 -4
- package/plugins/color_highlighter.ts +3 -4
- package/plugins/config-schema.json +8 -2
- package/plugins/diagnostics_panel.ts +2 -3
- package/plugins/git_blame.ts +8 -9
- package/plugins/git_find_file.ts +7 -4
- package/plugins/git_grep.ts +1 -2
- package/plugins/git_gutter.ts +1 -2
- package/plugins/git_log.ts +18 -19
- package/plugins/lib/finder.ts +5 -3
- package/plugins/lib/fresh.d.ts +648 -1415
- package/plugins/live_grep.ts +1 -2
- package/plugins/markdown_compose.ts +0 -1
- package/plugins/merge_conflict.ts +2 -3
- package/plugins/path_complete.ts +0 -1
- package/plugins/search_replace.ts +1 -2
- package/plugins/theme_editor.ts +40 -9
- package/plugins/todo_highlighter.ts +0 -1
- package/plugins/vi_mode.i18n.json +39 -13
- package/plugins/vi_mode.ts +77 -23
- package/plugins/welcome.ts +5 -6
- package/plugins/lib/results-panel.ts +0 -914
package/plugins/welcome.ts
CHANGED
|
@@ -8,21 +8,20 @@ const editor = getEditor();
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
// Show welcome message in status bar
|
|
11
|
-
editor.setStatus(editor.t("status.loaded"));
|
|
12
11
|
|
|
13
12
|
// Register commands that use built-in actions
|
|
14
13
|
editor.registerCommand(
|
|
15
14
|
"%cmd.open_help",
|
|
16
15
|
"%cmd.open_help_desc",
|
|
17
16
|
"show_help",
|
|
18
|
-
|
|
17
|
+
null
|
|
19
18
|
);
|
|
20
19
|
|
|
21
20
|
editor.registerCommand(
|
|
22
21
|
"%cmd.save_file",
|
|
23
22
|
"%cmd.save_file_desc",
|
|
24
23
|
"save",
|
|
25
|
-
|
|
24
|
+
null
|
|
26
25
|
);
|
|
27
26
|
|
|
28
27
|
// Register commands with custom TypeScript callbacks
|
|
@@ -36,7 +35,7 @@ editor.registerCommand(
|
|
|
36
35
|
"%cmd.say_hello",
|
|
37
36
|
"%cmd.say_hello_desc",
|
|
38
37
|
"plugin_say_hello",
|
|
39
|
-
|
|
38
|
+
null
|
|
40
39
|
);
|
|
41
40
|
|
|
42
41
|
globalThis.plugin_insert_time = function(): void {
|
|
@@ -50,7 +49,7 @@ editor.registerCommand(
|
|
|
50
49
|
"%cmd.insert_time",
|
|
51
50
|
"%cmd.insert_time_desc",
|
|
52
51
|
"plugin_insert_time",
|
|
53
|
-
|
|
52
|
+
null
|
|
54
53
|
);
|
|
55
54
|
|
|
56
55
|
globalThis.plugin_insert_comment = function(): void {
|
|
@@ -63,7 +62,7 @@ editor.registerCommand(
|
|
|
63
62
|
"%cmd.insert_comment",
|
|
64
63
|
"%cmd.insert_comment_desc",
|
|
65
64
|
"plugin_insert_comment",
|
|
66
|
-
|
|
65
|
+
null
|
|
67
66
|
);
|
|
68
67
|
|
|
69
68
|
// Debug output
|