@fresh-editor/fresh-editor 0.1.74 → 0.1.76
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 +54 -0
- package/README.md +6 -0
- package/package.json +1 -1
- package/plugins/audit_mode.ts +9 -4
- package/plugins/buffer_modified.ts +1 -1
- package/plugins/calculator.ts +1 -1
- package/plugins/check-types.sh +41 -0
- package/plugins/clangd_support.ts +1 -1
- package/plugins/color_highlighter.ts +4 -1
- package/plugins/config-schema.json +44 -2
- package/plugins/diagnostics_panel.i18n.json +52 -52
- package/plugins/diagnostics_panel.ts +168 -540
- package/plugins/find_references.ts +82 -324
- package/plugins/git_blame.i18n.json +260 -247
- package/plugins/git_blame.ts +4 -9
- package/plugins/git_find_file.ts +42 -270
- package/plugins/git_grep.ts +50 -167
- package/plugins/git_gutter.ts +1 -1
- package/plugins/git_log.ts +4 -11
- package/plugins/lib/finder.ts +1499 -0
- package/plugins/lib/fresh.d.ts +104 -19
- package/plugins/lib/index.ts +14 -0
- package/plugins/lib/navigation-controller.ts +1 -1
- package/plugins/lib/panel-manager.ts +7 -13
- package/plugins/lib/results-panel.ts +914 -0
- package/plugins/lib/search-utils.ts +343 -0
- package/plugins/lib/virtual-buffer-factory.ts +3 -2
- package/plugins/live_grep.ts +56 -379
- package/plugins/markdown_compose.ts +1 -17
- package/plugins/merge_conflict.ts +16 -14
- package/plugins/path_complete.ts +1 -1
- package/plugins/search_replace.i18n.json +13 -13
- package/plugins/search_replace.ts +11 -9
- package/plugins/theme_editor.ts +57 -30
- package/plugins/todo_highlighter.ts +1 -0
- package/plugins/vi_mode.ts +9 -5
- package/plugins/welcome.ts +1 -1
- package/themes/dark.json +102 -0
- package/themes/high-contrast.json +102 -0
- package/themes/light.json +102 -0
- package/themes/nostalgia.json +102 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "light",
|
|
3
|
+
"editor": {
|
|
4
|
+
"bg": [255, 255, 255],
|
|
5
|
+
"fg": [0, 0, 0],
|
|
6
|
+
"cursor": [0, 0, 0],
|
|
7
|
+
"inactive_cursor": [180, 180, 180],
|
|
8
|
+
"selection_bg": [173, 214, 255],
|
|
9
|
+
"current_line_bg": [245, 245, 245],
|
|
10
|
+
"line_number_fg": [140, 140, 140],
|
|
11
|
+
"line_number_bg": [255, 255, 255],
|
|
12
|
+
"diff_add_bg": [200, 255, 200],
|
|
13
|
+
"diff_remove_bg": [255, 200, 200],
|
|
14
|
+
"diff_modify_bg": [255, 252, 240]
|
|
15
|
+
},
|
|
16
|
+
"ui": {
|
|
17
|
+
"tab_active_fg": [40, 40, 40],
|
|
18
|
+
"tab_active_bg": [255, 255, 255],
|
|
19
|
+
"tab_inactive_fg": [100, 100, 100],
|
|
20
|
+
"tab_inactive_bg": [230, 230, 230],
|
|
21
|
+
"tab_separator_bg": [200, 200, 200],
|
|
22
|
+
"tab_close_hover_fg": [220, 50, 50],
|
|
23
|
+
"tab_hover_bg": [210, 210, 210],
|
|
24
|
+
"menu_bg": [245, 245, 245],
|
|
25
|
+
"menu_fg": [30, 30, 30],
|
|
26
|
+
"menu_active_bg": [225, 225, 225],
|
|
27
|
+
"menu_active_fg": [0, 0, 0],
|
|
28
|
+
"menu_dropdown_bg": [248, 248, 248],
|
|
29
|
+
"menu_dropdown_fg": [30, 30, 30],
|
|
30
|
+
"menu_highlight_bg": [209, 226, 243],
|
|
31
|
+
"menu_highlight_fg": [0, 0, 0],
|
|
32
|
+
"menu_border_fg": [180, 180, 180],
|
|
33
|
+
"menu_separator_fg": [210, 210, 210],
|
|
34
|
+
"menu_hover_bg": [230, 235, 240],
|
|
35
|
+
"menu_hover_fg": [0, 0, 0],
|
|
36
|
+
"menu_disabled_fg": [160, 160, 160],
|
|
37
|
+
"menu_disabled_bg": [248, 248, 248],
|
|
38
|
+
"status_bar_fg": "Black",
|
|
39
|
+
"status_bar_bg": [220, 220, 220],
|
|
40
|
+
"prompt_fg": "Black",
|
|
41
|
+
"prompt_bg": [230, 240, 250],
|
|
42
|
+
"prompt_selection_fg": "Black",
|
|
43
|
+
"prompt_selection_bg": [173, 214, 255],
|
|
44
|
+
"popup_border_fg": [180, 180, 180],
|
|
45
|
+
"popup_bg": [232, 238, 245],
|
|
46
|
+
"popup_selection_bg": [209, 226, 243],
|
|
47
|
+
"popup_text_fg": [30, 30, 30],
|
|
48
|
+
"suggestion_bg": [232, 238, 245],
|
|
49
|
+
"suggestion_selected_bg": [209, 226, 243],
|
|
50
|
+
"help_bg": "White",
|
|
51
|
+
"help_fg": "Black",
|
|
52
|
+
"help_key_fg": "Blue",
|
|
53
|
+
"help_separator_fg": "Gray",
|
|
54
|
+
"help_indicator_fg": "Red",
|
|
55
|
+
"help_indicator_bg": "White",
|
|
56
|
+
"inline_code_bg": [230, 230, 235],
|
|
57
|
+
"split_separator_fg": [140, 140, 140],
|
|
58
|
+
"split_separator_hover_fg": [70, 130, 180],
|
|
59
|
+
"scrollbar_track_fg": [220, 220, 220],
|
|
60
|
+
"scrollbar_thumb_fg": [180, 180, 180],
|
|
61
|
+
"scrollbar_track_hover_fg": [200, 200, 200],
|
|
62
|
+
"scrollbar_thumb_hover_fg": [140, 140, 140],
|
|
63
|
+
"compose_margin_bg": [220, 220, 225],
|
|
64
|
+
"semantic_highlight_bg": [220, 230, 240],
|
|
65
|
+
"terminal_bg": "Default",
|
|
66
|
+
"terminal_fg": "Default",
|
|
67
|
+
"status_warning_indicator_bg": [202, 145, 0],
|
|
68
|
+
"status_warning_indicator_fg": [0, 0, 0],
|
|
69
|
+
"status_error_indicator_bg": [200, 40, 40],
|
|
70
|
+
"status_error_indicator_fg": [255, 255, 255],
|
|
71
|
+
"status_warning_indicator_hover_bg": [232, 175, 30],
|
|
72
|
+
"status_warning_indicator_hover_fg": [0, 0, 0],
|
|
73
|
+
"status_error_indicator_hover_bg": [230, 70, 70],
|
|
74
|
+
"status_error_indicator_hover_fg": [255, 255, 255],
|
|
75
|
+
"tab_drop_zone_bg": [173, 214, 255],
|
|
76
|
+
"tab_drop_zone_border": [70, 130, 180]
|
|
77
|
+
},
|
|
78
|
+
"search": {
|
|
79
|
+
"match_bg": [255, 255, 150],
|
|
80
|
+
"match_fg": [0, 0, 0]
|
|
81
|
+
},
|
|
82
|
+
"diagnostic": {
|
|
83
|
+
"error_fg": "Red",
|
|
84
|
+
"error_bg": [255, 220, 220],
|
|
85
|
+
"warning_fg": [128, 128, 0],
|
|
86
|
+
"warning_bg": [255, 255, 200],
|
|
87
|
+
"info_fg": "Blue",
|
|
88
|
+
"info_bg": [220, 240, 255],
|
|
89
|
+
"hint_fg": "DarkGray",
|
|
90
|
+
"hint_bg": [240, 240, 240]
|
|
91
|
+
},
|
|
92
|
+
"syntax": {
|
|
93
|
+
"keyword": [175, 0, 219],
|
|
94
|
+
"string": [163, 21, 21],
|
|
95
|
+
"comment": [0, 128, 0],
|
|
96
|
+
"function": [121, 94, 38],
|
|
97
|
+
"type": [0, 128, 128],
|
|
98
|
+
"variable": [0, 16, 128],
|
|
99
|
+
"constant": [0, 112, 193],
|
|
100
|
+
"operator": [0, 0, 0]
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nostalgia",
|
|
3
|
+
"editor": {
|
|
4
|
+
"bg": [0, 0, 170],
|
|
5
|
+
"fg": [255, 255, 85],
|
|
6
|
+
"cursor": [255, 255, 255],
|
|
7
|
+
"inactive_cursor": [170, 170, 170],
|
|
8
|
+
"selection_bg": [170, 170, 170],
|
|
9
|
+
"current_line_bg": [0, 0, 128],
|
|
10
|
+
"line_number_fg": [85, 255, 255],
|
|
11
|
+
"line_number_bg": [0, 0, 170],
|
|
12
|
+
"diff_add_bg": [0, 100, 0],
|
|
13
|
+
"diff_remove_bg": [170, 0, 0],
|
|
14
|
+
"diff_modify_bg": [20, 20, 140]
|
|
15
|
+
},
|
|
16
|
+
"ui": {
|
|
17
|
+
"tab_active_fg": [0, 0, 0],
|
|
18
|
+
"tab_active_bg": [170, 170, 170],
|
|
19
|
+
"tab_inactive_fg": [255, 255, 85],
|
|
20
|
+
"tab_inactive_bg": [0, 0, 128],
|
|
21
|
+
"tab_separator_bg": [0, 0, 170],
|
|
22
|
+
"tab_close_hover_fg": [255, 85, 85],
|
|
23
|
+
"tab_hover_bg": [0, 0, 200],
|
|
24
|
+
"menu_bg": [170, 170, 170],
|
|
25
|
+
"menu_fg": [0, 0, 0],
|
|
26
|
+
"menu_active_bg": [0, 170, 0],
|
|
27
|
+
"menu_active_fg": [255, 255, 255],
|
|
28
|
+
"menu_dropdown_bg": [170, 170, 170],
|
|
29
|
+
"menu_dropdown_fg": [0, 0, 0],
|
|
30
|
+
"menu_highlight_bg": [0, 170, 0],
|
|
31
|
+
"menu_highlight_fg": [255, 255, 255],
|
|
32
|
+
"menu_border_fg": [0, 0, 0],
|
|
33
|
+
"menu_separator_fg": [85, 85, 85],
|
|
34
|
+
"menu_hover_bg": [0, 170, 0],
|
|
35
|
+
"menu_hover_fg": [255, 255, 255],
|
|
36
|
+
"menu_disabled_fg": [85, 85, 85],
|
|
37
|
+
"menu_disabled_bg": [170, 170, 170],
|
|
38
|
+
"status_bar_fg": [0, 0, 0],
|
|
39
|
+
"status_bar_bg": [0, 170, 170],
|
|
40
|
+
"prompt_fg": [255, 255, 85],
|
|
41
|
+
"prompt_bg": [0, 0, 170],
|
|
42
|
+
"prompt_selection_fg": [0, 0, 0],
|
|
43
|
+
"prompt_selection_bg": [170, 170, 170],
|
|
44
|
+
"popup_border_fg": [255, 255, 255],
|
|
45
|
+
"popup_bg": [0, 0, 170],
|
|
46
|
+
"popup_selection_bg": [0, 170, 0],
|
|
47
|
+
"popup_text_fg": [255, 255, 85],
|
|
48
|
+
"suggestion_bg": [0, 0, 170],
|
|
49
|
+
"suggestion_selected_bg": [0, 170, 0],
|
|
50
|
+
"help_bg": [0, 0, 170],
|
|
51
|
+
"help_fg": [255, 255, 85],
|
|
52
|
+
"help_key_fg": [85, 255, 255],
|
|
53
|
+
"help_separator_fg": [170, 170, 170],
|
|
54
|
+
"help_indicator_fg": [255, 85, 85],
|
|
55
|
+
"help_indicator_bg": [0, 0, 170],
|
|
56
|
+
"inline_code_bg": [0, 0, 85],
|
|
57
|
+
"split_separator_fg": [85, 255, 255],
|
|
58
|
+
"split_separator_hover_fg": [255, 255, 255],
|
|
59
|
+
"scrollbar_track_fg": [0, 0, 128],
|
|
60
|
+
"scrollbar_thumb_fg": [170, 170, 170],
|
|
61
|
+
"scrollbar_track_hover_fg": [0, 0, 128],
|
|
62
|
+
"scrollbar_thumb_hover_fg": [255, 255, 255],
|
|
63
|
+
"compose_margin_bg": [0, 0, 128],
|
|
64
|
+
"semantic_highlight_bg": [0, 85, 170],
|
|
65
|
+
"terminal_bg": [0, 0, 170],
|
|
66
|
+
"terminal_fg": [255, 255, 85],
|
|
67
|
+
"status_warning_indicator_bg": [170, 85, 0],
|
|
68
|
+
"status_warning_indicator_fg": [255, 255, 255],
|
|
69
|
+
"status_error_indicator_bg": [170, 0, 0],
|
|
70
|
+
"status_error_indicator_fg": [255, 255, 255],
|
|
71
|
+
"status_warning_indicator_hover_bg": [200, 115, 30],
|
|
72
|
+
"status_warning_indicator_hover_fg": [255, 255, 255],
|
|
73
|
+
"status_error_indicator_hover_bg": [200, 30, 30],
|
|
74
|
+
"status_error_indicator_hover_fg": [255, 255, 255],
|
|
75
|
+
"tab_drop_zone_bg": [0, 170, 170],
|
|
76
|
+
"tab_drop_zone_border": [255, 255, 255]
|
|
77
|
+
},
|
|
78
|
+
"search": {
|
|
79
|
+
"match_bg": [170, 85, 0],
|
|
80
|
+
"match_fg": [255, 255, 255]
|
|
81
|
+
},
|
|
82
|
+
"diagnostic": {
|
|
83
|
+
"error_fg": [255, 85, 85],
|
|
84
|
+
"error_bg": [128, 0, 0],
|
|
85
|
+
"warning_fg": [255, 255, 85],
|
|
86
|
+
"warning_bg": [128, 128, 0],
|
|
87
|
+
"info_fg": [85, 255, 255],
|
|
88
|
+
"info_bg": [0, 85, 128],
|
|
89
|
+
"hint_fg": [170, 170, 170],
|
|
90
|
+
"hint_bg": [0, 0, 128]
|
|
91
|
+
},
|
|
92
|
+
"syntax": {
|
|
93
|
+
"keyword": [255, 255, 255],
|
|
94
|
+
"string": [0, 255, 255],
|
|
95
|
+
"comment": [128, 128, 128],
|
|
96
|
+
"function": [255, 255, 0],
|
|
97
|
+
"type": [0, 255, 0],
|
|
98
|
+
"variable": [255, 255, 85],
|
|
99
|
+
"constant": [255, 0, 255],
|
|
100
|
+
"operator": [170, 170, 170]
|
|
101
|
+
}
|
|
102
|
+
}
|